Limit number of columns that can be sorted to any 2/3/4 etc.

Limit number of columns that can be sorted to any 2/3/4 etc.

SleuthSleuth Posts: 2Questions: 0Answers: 0
edited September 2011 in General
Hello,

I'd like to limit the number of columns to be sortable by a specific number (not specific column).
Any column can be sorted, but when holding shift I want to limit this to just 2 (or 3, 4 etc.)

As far as I can tell, this isn't an option. I can only currently turn off sorting using bSortable per column, and not just set a table option to limit sorting.

Cheers!

Replies

  • SleuthSleuth Posts: 2Questions: 0Answers: 0
    This thread: http://datatables.net/forums/discussion/5589/possible-to-disable-sorting-of-multiple-columns/p1

    Seems to partly implement what I want. For now, I'll apply this change, but I would prefer to specify a limiting number rather than just disable it completely.
This discussion has been closed.