bSortable false

bSortable false

TrollchikTrollchik Posts: 80Questions: 1Answers: 0
edited October 2011 in General
Hi, i need to disable the sortable for one specific column. The problem that i can't use code like below
[code]
"aoColumns":[{ "sSortDataType": "dom-a" },{"bSortable": false},{"bSortable": false},{"bSortable": false},{"bSortable": false}],
[/code]

in my table. Bcs when the table is initialized i don't know how much column i have (they are dynamic). So i just know that the second column should hae bSortable = false

How can i do it ?

thanks

Replies

  • TrollchikTrollchik Posts: 80Questions: 1Answers: 0
    i already found the solution! thanks!
  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    For anyone else interesting the answer is to use aoColumnDefs: http://datatables.net/usage/columns .

    Allan
This discussion has been closed.