bStateSave some function can't use

bStateSave some function can't use

sueboysueboy Posts: 3Questions: 0Answers: 0
edited September 2009 in General
My datatables set
bStateSave: true

then
show entries ok remeber
search keyword ok remeber
sort ok remeber

but
page change not ok, not remeber

I see cookie, the cookie have istart and iend have value?but after refresh always on page 1.

I don't understand? why?


[code]
oTable = $('').dataTable( {
"bAutoWidth": false,
"iDisplayLength": 25,
"bStateSave": true,
"bProcessing": false,
"sAjaxSource": "get_sup_list.asp",
"sDom": 'ifrltp',
"sPaginationType": "full_numbers",
"aaData": [
/* Reduced data set*/
/*<%'str%>*/
],
"aoColumns": [
{ "sTitle": "Supplier", "sType": "html"},
{ "sTitle": "Product" }
],
"oLanguage":{
"sUrl": "_inc/datatables/language/en_UK.txt"
}
} );
[/code]
is bug or My program error?

thank you!

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Hi sueboy,

    Looks like you've found a bug there! The combination of an Ajax source and state saving is something that DataTables is objecting to... I'll have a look at what might be causing this and try to get a fix into the next release.

    Regards,
    Allan
  • sueboysueboy Posts: 3Questions: 0Answers: 0
    Thank you very much!!

    Now Let me know what's happen. wait fix on next release.
  • soberspsobersp Posts: 28Questions: 0Answers: 0
    HI Allan,

    Is this Fixed ?

    Sobers
  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Hi Sobers,

    Yes I believe that this is fixed, and will be in the 1.5.5 release - which I'll shunt out hopefully sometime fairly soon. Everything seems stable at the moment. Drop me a mail if you would like a copy of the development version.

    Regards,
    Allan
This discussion has been closed.