Hello! I am trying to add new column to my table by clicking on an ADD NEW COULMN button. My data is defined as an object. I don’t want to use context menu, I am using external button click event.
How to add new column when data is defined as an object without using Context Menu?
Please check this topic https://github.com/handsontable/handsontable/issues/9216. It mentions the same subject.
So in short it says that if data is defined as object, the column number will be fixed. However, there is a way around for that other than context menu. We can use updateSettings to add new columns?
Exactly! The alteration of the columns
object is the way to add or remove columns in that case.
Okay. Thank you