I am using handsontable in my application. On load of the table I want to hide a column
The data is bind to the table has 4 columns:
colHeader= [‘ID’, ‘Name’, ‘Age’, ‘City’]
I don’t want to display the ID column to the user. It acts like a key to each row.
The data that I tie to the table has all values.
[{1, ‘name’, 34, 'City Name}, {2, 'name 2], 44, ‘City Name’}]
How do I hide the first column to the user in the table.
How to hide few columns on load of the table
Hi @krish
you can use
hiddenColumns: {
columns: [0],
indicators: false
}
Let me know if it fits your needs.
Thank you