Sorting problem (row details example)
Sorting problem (row details example)
PetrS
Posts: 3Questions: 0Answers: 0
Hi, there is a problem in sorting of row details example.
http://datatables.net/release-datatables/examples/server_side/row_details.html
When I click "Rendering Engine" then "Browser" column will be sorted instead of Rendering Engine ...etc.
How to fix that ?
http://datatables.net/release-datatables/examples/server_side/row_details.html
When I click "Rendering Engine" then "Browser" column will be sorted instead of Rendering Engine ...etc.
How to fix that ?
This discussion has been closed.
Replies
That's actually a problem with the server-side script not taking into account that offset indexes. DataTables is telling the server to sort by the wrong column because of the faked first column! You could use iSortData not he client-side of fix the offset, or modify the server-side script to take account of it.
Allan