DataTable client-side sorting.

DataTable client-side sorting.

vikinik01vikinik01 Posts: 4Questions: 3Answers: 0

Hello, I have a quick question - how can I achieve client-side DataTables sorting for all columns after I've received data from an AJAX call (note that the table is initialized with serverside: true)?

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    With the serverSide initialisation option, DataTables will expect the server to do everything. It sounds like you just need to remove that option though - DataTables will still use your current ajax to get the initial data, but then the client will deal with the sorting/paging/filtering.

    Colin

Sign In or Register to comment.