I am building a grid for my application and I have a boolean column, I would like to be able to have a checkbox as an editor is there a way to do that?
Failing that how can I have a Yes/No popup
I am building a grid for my application and I have a boolean column, I would like to be able to have a checkbox as an editor is there a way to do that?
Failing that how can I have a Yes/No popup
Yes, you can define a checkbox editor for the boolean column:
{id:"checked", template:"{common.checkbox()}", editor:"checkbox"}
http://webix.com/snippet/9d453506
The editor returns 0/1 values. This can be changed by checkValue/uncheckValue parameters:
{id:"checked", template:"{common.checkbox()}", editor:"checkbox",
checkValue:true, uncheckValue:false}
In addition checkbox editor can be customized like http://docs.webix.com/samples/15_datatable/04_editing/08_custom_checkbox.html