Quantcast
Viewing all articles
Browse latest Browse all 82130

Page state saving not working with filter

Hi.

I have the following code for setting up datatables:

var dt=$('#customerListTable').dataTable({
                "bStateSave": true,
                "sPaginationType": "full_numbers",
                "aaSorting": [],
                "oLanguage": {
                    "sUrl": "dataTables.german.txt"
                },
                "iDisplayLength": 25,
                "fnInitComplete": function(oSettings, json) {
                    $("#appWrapper").i18n();
                }
            }).fnFilter(includeStatusStr,2, true);
in includeStatusStr theres the following values for regex filtering: ^3$|^4$|^7$|^8$|^9$|^10$
the states of sorting and display length are saved, but not the page... so when i go to page 3 and reload the page, its always going to page 1. Am i missing something?

Thanks.

Viewing all articles
Browse latest Browse all 82130

Trending Articles