Single non sortable column
Single non sortable column
mithun_daa
Posts: 11Questions: 0Answers: 0
I have about 10 web pages that each have a table with varying number of columns. The one thing that is common in all the tables is that there is a set of actions ("Edit", "Details & "Delete") on every row of every table. To make life easy, i have made it the first column. I do not want this column to be sortable and i want to make the initialization easy and generic. Is it possible to have just one call
$('.datatable').dataTable({
"bAutoWidth": false,
"bJQueryUI": true,
"bLengthChange": false,
"aoColumns": [
{ "bSortable": false }
]
});
that will take care of this situation??
Thanks.
$('.datatable').dataTable({
"bAutoWidth": false,
"bJQueryUI": true,
"bLengthChange": false,
"aoColumns": [
{ "bSortable": false }
]
});
that will take care of this situation??
Thanks.
This discussion has been closed.