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 }
    }
})

Related samples

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 widget library and page of download datatable product.