Carlos
Carlos

Reputation: 117

Webix remove columns from a DataTable?

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

Answers (1)

Carlos
Carlos

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

Related Questions