Sorting of a particular column

Sorting of a particular column

Vishnu K.VVishnu K.V Posts: 1Questions: 1Answers: 0

Hi, am new to this data table, the problem is, while go for sorting in a particular column, I need to kept 1'st column with out any change?is it possible?

Answers

  • glendersonglenderson Posts: 231Questions: 11Answers: 29
    edited March 2016

    For multiple column sort, you hold down the shift key while clicking the header. So, if the user wanted Column #1 then Column #3, hold shift, click col1 header, then col3 header.

    You can also set the initial sort using the .order() option.
    https://datatables.net/reference/option/order

This discussion has been closed.