Add Sort on one column

Tags: #<Tag:0x00007f0b02b3aa60>

How can I put sort functionality only for one column at initialization, the documentation says to disable sorting for the column we can use, multiColumnSorting: {
indicator: true,
headerAction: false,
compareFunctionFactory: function compareFunctionFactory() {
return function comparator() {
return 0; // Don’t sort the first visual column.
};
}
}
this on a column, but I don’t want to add this for every column except one, because my handsontable have 100 columns, so I’m wondering do we have the option to add sort only for that column??

Hey @danielyanvahagn

You cannot add sorting only for one column. It enables it for all at once.

Okay, Thank you.