bStateSave not working after fnFilter?

bStateSave not working after fnFilter?

imacimac Posts: 19Questions: 0Answers: 0
edited July 2013 in General
I am trying to maintain the table status (after filtering with fnFilter or fnFilterAll) and it seems that it doesn't work.
Doesn't it work with the filter functions?

This is my filtering code:

[code]
$('#showAgreed').click(function(){
//erasing any possible previous filter
tablePlugin.fnFilterAll( '' , i);
tablePlugin.fnFilterAll('agreed', 18);
});
[/code]

And this is my table options array: (without the columnss array)

[code]
var options = {
"oLanguage": {
"sEmptyTable": lang.emptyTable
},

"bStateSave": true,
"bAutoWidth": false,
"bDestroy":true,
"sDom": 'lrtp', //http://datatables.net/ref#sDom
"bPaginate": false,
oLanguage: {
"oPaginate": {
"sNext": ">",
"sPrevious": "<"
}
}
};
[/code]

Thanks.

Replies

  • allanallan Posts: 63,512Questions: 1Answers: 10,472 Site admin
    It should work just fine. Please link to a test case showing the issue.

    Allan
This discussion has been closed.