validates data in currently active editor
id | id | id of editor |
boolean | true if text in editor confirms to validation rules |
var grid = webix.ui({
view:"datatable",
rules:{
price:function(obj){ return obj>0; }
}
...
})
...
grid.validateEditor();
If id not provided - uses last opened editor
Back to top