Reputation: 117
With Webix is there anyway to remove columns from a datatable? I have found the webix datatable api documentation, but I can't find anything about removing a column.
Upvotes: 7
Views: 1332
Reputation: 117
I've finally figured it out. I was able to find a sample that included the proper code.
Relevant section:
var columns = webix.toArray(grid.config.columns);
columns.removeAt(2);
grid.refreshColumns();
Upvotes: 1