Reputation: 961
Currently turning columnSorting to true, allows one to sort on all columns. However is there a way to specify only certain columns that can be sorted?(Or disable certain columns from being sorted)
Upvotes: 2
Views: 847
Reputation: 783
I know this is an old question but setting the columnSorting
option to headerAction: false
on the column configuration disabled the sorting for me:
hot = new Handsontable(container, {
..
columns: [
{ data: 0, columnSorting: { headerAction: false }, },
],
...
})
Its also mentioned in the docs
Upvotes: 1