Sorting problem (row details example)

Sorting problem (row details example)

PetrSPetrS Posts: 3Questions: 0Answers: 0
edited July 2013 in DataTables 1.9
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 ?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Heh - doh!

    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
This discussion has been closed.