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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
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.