Colreorder, Ajax, and bStatesave?
Colreorder, Ajax, and bStatesave?
ditto
Posts: 6Questions: 0Answers: 0
Does anyone have these three working together nicely with 1.7.5? It seems whenever I re-arrange columns all works as expected. It's when the page is reloaded there is an issue. The columns stay in their (correct) re-arranged order but the data gets loaded in the original order so it doesn't match up.
This discussion has been closed.
Replies
Are you using sNames in your initialisation? Also when you say Ajax, do you mean server-side processing or just Ajax data loading for client side processing? There might indeed be a limitation in the code for the latter at the moment. I'll have a look at addressing that.
Allan
I will look at addressing this as soon as I can.
Regards,
Allan
The other thing to say is to use objects for your data source and mDataProp in DataTables - that way order is made irrelevant: http://datatables.net/blog/Extended_data_source_options_with_DataTables
Allan