Sorting on Current table Page

Sorting on Current table Page

kosurusekharkosurusekhar Posts: 4Questions: 0Answers: 0
edited December 2012 in DataTables 1.9
I want to sort the table contents among the visible rows in current page, how can we implement this with Datatables plug-in.

Replies

  • allanallan Posts: 63,391Questions: 1Answers: 10,450 Site admin
    Sorting is DataTables applies across all pages. It cannot be limited to just one page.

    Allan
  • kosurusekharkosurusekhar Posts: 4Questions: 0Answers: 0
    Thanks Allan for the reply, but if we want to customize, can we implement in this library ?
  • allanallan Posts: 63,391Questions: 1Answers: 10,450 Site admin
    It is possible yes - look in the core.sort.js file. Its not something I've considered before so I'm not exactly certain off the top of my head how it would be done, but yes it would be possible for you to customise DataTables to do that.

    Allan
This discussion has been closed.