简体   繁体   English

带窗口小部件列的Webix DataTable可能吗?

[英]Webix DataTable with Widget Column Possible?

As like ExtJS/Sencha 就像ExtJS / Sencha

Extjs Widget Column Documentation Extjs小部件专栏文档

Is it possible to have widget columns in webix Datatable. webix数据表中是否可以有小部件列。 I have requirement to draw range slider, combobox,checkboxes inside cell. 我需要在单元格内绘制范围滑块,组合框,复选框。

There is some defaults widgets directly out of the box: 直接使用一些默认的小部件:

Checkbox and radio widget inside table 表格内的复选框和单选小部件

But unfortunately not the slider one. 但不幸的是不是滑块之一。 Maybe you can use a subview or some kind of trick. 也许您可以使用子视图或某种技巧。 Or maybe you should switch to a more complex widget like the DataLayout one: 或者,也许您应该切换到像DataLayout这样的更复杂的小部件:

DataLayout with slider view inside it 带有滑块视图的DataLayout

I think you can use cell template to achieve it. 我认为您可以使用单元格模板来实现它。 You can provide any HTML template to that. 您可以为此提供任何HTML模板。

https://docs.webix.com/datatable__templates.html https://docs.webix.com/datatable__templates.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM