rules

set of validation rules for the component

object rules;

Example

webix.ui({
    view:"datatable",
    rules:{
        "year": webix.rules.isNotEmpty,
        "value": function(value){ return value > 0 }
    }
})

Details

You will not be able to save data to server side if it doesn't conform to validation rules.

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript framework and page of tree table widget product.