How can I add rules to a datatable?

I’ve figured out how to add external column configuration and data to a datatable.

How can I add external validation rules? I tried using define to no avail.

http://webix.com/snippet/9a31e745

Adding rules doesn’t trigger validation for data in the component, you neet to trigger it by adding .validate() call

http://webix.com/snippet/e2604d51

Thanks!

I’m leaving this here for future reference: http://webix.com/snippet/62acf688. I lets me easily apply multiple evaluation rules against a single column.