How do I enable validation via xml ?

HI All,

From the documentation I can enable validation via javascript:

mygrid.enableValidation(true, true);

See: dhtmlx.com/docs/products/dht … rules.html

However, I do not know how many columns I will have before I draw the grid.

How do I enable validation via XML ?

Best,

Phil

You can use “validate” attribute of the cell tag:

12345

Example is available here dhtmlx.com/docs/products/dht … rules.html

Is it possible to use the attribute validate for the column?

thank you in advance

Unfortunately it impossible. You can set validation for the column only with setColValidators() method
docs.dhtmlx.com/doku.php?id=dhtm … _extension