StateLoad after AJAX
StateLoad after AJAX
Hi all, first of all I'm REALLY thankful for the framework, it's saving me hours and hours of pain in converting all sorts of serverside tables in a jiff.
Now, for the question: I'm loading data using the 'ajax:' option.
Willing to maintain the table state, I'm trying to use the 'saveState:' feature, coupled with some custom filters on the single columns.
The problem: it seems that "loadState" is called right at init-time of the table, immediately followed by "saveState".
At that time, however, the data have not yet loaded, with the result that my column filters are deleted without effect.
Note that the ordering is saved and loaded without problems.
Am I using it in some wrong way, or am I missing some configurations?
Thanks!