Don't sort for First column while loading the table.

Don't sort for First column while loading the table.

ThamaraiselvanThamaraiselvan Posts: 3Questions: 0Answers: 0
edited September 2012 in General
Hi,
I am using DataTable for displaying records. While Loading the table the first column is sorted default. How to remove sorting on load.
I need the column as second column without sorting but need sorting option as second column.
Its default coming as

I need to be as


thanks & regards,
Thamaraiselvan R

Replies

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    Use aaSorting and set it to an empty array. You can also use the bSortable option to allow / disallow sorting on specific columns.

    Allan
  • ThamaraiselvanThamaraiselvan Posts: 3Questions: 0Answers: 0
    Thank You Allan. I got what i expected. I will contact for further help. Thanks Again.

    thanks & regards,
    Thamaraiselvan R
This discussion has been closed.