Server side data with client side sorting?

Server side data with client side sorting?

devpostdevpost Posts: 1Questions: 0Answers: 0
edited January 2011 in General
I am using server side ajax for initial display of rows and filtering. But can I still enable UI side sorting. For my purpose, the client sorting is enough.

Thanks.

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Hi devpost,

    No I'm afraid not - DataTables assumes that the sorting, filtering and paging of data will all be done by the same data source - be it server-side or client-side. It probably wouldn't be too hard to hack the code to make it do what you want (i.e. only sort the current page, if I understand correctly) - but this isn't something that DataTables supports.

    Allan
This discussion has been closed.