Skip to content

validateEditor

validates data in currently active editor

function validateEditor(
// id of editor
id?: id
): boolean

boolean true if text in editor confirms to validation rules

var grid = webix.grid({
rules:{
price:function(obj){ return obj>0; }
}
...
})
...
grid.validateEditor();

If id not provided - uses last opened editor