hqyl
1
{
id:"is_open",header:"open",editor:"select",options:[
{value:"close",id:0},
{value:"open",id:1}
]
Use select components, a value of 0 and will not be selected when
maksim
2
Try to use string “0” instead of a number
hqyl
3
I need to add some code to work properly.
scheme:{
$change:function(obj){
if(obj.is_open == 1)
{
obj.is_open = ‘1’
} else {
obj.is_open = ‘0’
}
}
maksim
4
Unfortunately it is necessary. Webix can’t use 0, false, null values as id of item. In same time it can use “0”, “false”, “null” if they are strings