I have an editable datagrid and the requirement is to add rows to the datagrid dynamically. So I have a button, which clicked would append a row at the end of the datagrid.
All the editable elements are of type Strings. I need to validate those before submission. We use Spring Decorations to validate the rest of the element on the page.
I understand that Spring decorations work on underlying DOM elements. but the data grid works on datastore, So is the concept of using Spring decorations for validation on data grid elements workable? Has anyone done it?
If not what are my other options..
We are using Dojo 1.6.1 and Spring 3.0
Thanks all for your time and responses