hiding sort order icon?
hiding sort order icon?
Is there a way to hid the sort order icon but still have client sorting?
I dynamically load data into a table through various ajax calls and want to the data to be sorted as it's added to the table but don't want the user to be able to click to sort nor see the sorting order graphic. "bSort": false, hides the graphic but also then blocks "aaSortingFixed": [[ 5, "asc" ]] from working. However when bSort is not false I can see the graphic in the header but it then sorts correctly as data is dynamically added.
Thanks!
I dynamically load data into a table through various ajax calls and want to the data to be sorted as it's added to the table but don't want the user to be able to click to sort nor see the sorting order graphic. "bSort": false, hides the graphic but also then blocks "aaSortingFixed": [[ 5, "asc" ]] from working. However when bSort is not false I can see the graphic in the header but it then sorts correctly as data is dynamically added.
Thanks!
This discussion has been closed.
Replies
[code]
"aoColumnDefs": [
{ "bSortable": false, "aTargets": [ "_all" ] }
]
[/code]
which will disallow sorting on all columns.
Allan
Great plugin!