I am validating attributes on screen using DataChange on coaches (setting coachvalidationerrors)& isValid function to confirm if no error is there on screen. but however there is a tab which has a table element, when i try to do a is Valid on the table attributes, I face the error that isValid cannot be performed on undefined element.(when there is no record/row onthe table). So how do I confirm the validation only when there is any data on it?
I did get it working at the table level, but the attributes mapped to the column is still throwing an exception isValid on undefined,(when i add a new row on the empty table). So the table had a list object mapped to it and the columns are attributes of the list object under currentItem.