setDirty

marks the form as the one with changed values and vice versa

void setDirty( [boolean mark] );
markbooleanif true, marks the form dirty

Example

form.setDirty();

Details

When used with a parameter the method marks the form dirty while 'clean' and 'dirty' value remain the same:

When used without a parameter the method removed the 'dirty' mark, if any, and maked 'dirty' values 'clean':

See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix web control library and page of form widget product.