Disable client side sorting - but still be able to sort

Disable client side sorting - but still be able to sort

mattcodesmattcodes Posts: 1Questions: 0Answers: 0
edited October 2010 in General
Seems several people have ask this without a suitable response so Im gonna try paraphrasing. When using a server-side processing data source, can one disable client-side reordering logic. Whilst still enable/disable sorting toggles using bSortable?

The usual answers are: disable sorting all together with bSort - err.. no. Or disable initialization sorting with aaSorting, but that just first pass right? All subsequent ^ down hits are also reordered client side. I want completely disable the bit that reorders client side. Leave to the server. Is this possible or not?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Hi mattcodes,

    I'm afraid I don't quite fully understand the problem - perhaps you could elaborate a little more, and link to the previous discussions on this topic?

    If you have a look at the server-side processing examples, you can see that there is not sorting going on, on the client-side, it's all being done on the server-side: http://datatables.net/examples/server_side/server_side.html . This must be the case since the client-side doesn't have the full dataset, and therefore cannot sort it.

    Allan
This discussion has been closed.