[英]Webix remove columns from a DataTable?
With Webix is there anyway to remove columns from a datatable? 无论如何,Webix都可以从数据表中删除列? I have found the webix datatable api documentation , but I can't find anything about removing a column.
我找到了webix数据表api文档 ,但是我找不到有关删除列的任何信息。
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();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.