Page wise sorting

Page wise sorting

vijaysinhparmarvijaysinhparmar Posts: 1Questions: 0Answers: 0
edited October 2013 in General
Hi,

I am doing a server side fetch of records for each page but I want to control sorting only for the page I am in. With the server side setup, if I click sort it would a sort on whole data set and take me to page 1. What I am trying to do is to start with there is no sort but the sorting is done only on current page data whenever clicked on a column.

How to do this?

Thanks

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Currently DataTables' sort extends over all pages - it is not currently possible to restrict it to just one page without a plug-in (which doesn't exist at the moment, but if you develop one, please do share with everyone!).

    Allan
This discussion has been closed.