Server-side + Col-reorder + state Save give weird results
Server-side + Col-reorder + state Save give weird results
Hi everyone,
I've got a table with these 3 extension together, and somehow they don't really like it when put together.
Here is a JSFiddle: http://jsfiddle.net/2ak3xd1z/
Now put start Start Date on Position 2 and press either Next or Show 100 entries. Upon refreshing of the table, it remembers the state of the header, but the data gets back where it was at the start. So at start the date Nixon" appears. Interestingly if you refresh the page, everything is fine until you press next/Show xyz entries again.
I've tested this on three browsers (Firefox, IE & Chrome) all with the same results.
Did I do anything wrong with this table?
This question has an accepted answers - jump to answer
Answers
Out of curiosity, does anyone else can reproduce the problem, or is it just me?
I can't solve it for you :-( but I can confirm that I'm seeing what you're seeing. (I use Firefox.)
Likewise.
I think this is to do with the server-side processing script not handling the changed positions of the column headers. The best way of handling ColReorder with server-side processing is with objects, like in the ColReorder SSP example.
Allan
I'll try that thank you.
My first test was successful.