I need add validation for columns in handsontable, but possibility for add new column is necessary for me. How can I do this?
Asked
Active
Viewed 311 times
0
-
2Possible duplicate of [How to create dynamic columns for Handsontable?](http://stackoverflow.com/questions/16185751/how-to-create-dynamic-columns-for-handsontable) – Sam Segers Dec 18 '15 at 10:51
-
No, I need give this possibility for users. I show them current table, and they can edit it and add new columns as well. – Ann Demchenko Dec 19 '15 at 18:28
1 Answers
0
minSpareRows: 1 is the answer for adding a new row:
var tbl = new Handsontable(container, {
...
minSpareRows: 1,
...
});
and for validation:
http://docs.handsontable.com/0.16.1/demo-data-validation.html

cem
- 1,535
- 19
- 25
-
Yes, but we need add not only rows and columns as well. And minSpareCols and columns as properties are not compatible... – Ann Demchenko Jan 11 '16 at 10:44