This question is locked. New answers and comments are not allowed.
Hi,
I'm using the batch editing grid with a few fields located outside the grid. I'd like them all to be submitted at the same time, as part of my validation needs to be that the grid contains at least one row (all of which should be valid). Is there a way I can check whether or not the grid has validation errors so that I can prevent the form post so the user can fix the row(s) in the grid. I know I can use grid.hasChanges(), and I could use grid.insertedDataItems and grid.updatedDataItems to determine that I have at least one record, but how can I determine that the record(s) is(are) valid?
I'm using the batch editing grid with a few fields located outside the grid. I'd like them all to be submitted at the same time, as part of my validation needs to be that the grid contains at least one row (all of which should be valid). Is there a way I can check whether or not the grid has validation errors so that I can prevent the form post so the user can fix the row(s) in the grid. I know I can use grid.hasChanges(), and I could use grid.insertedDataItems and grid.updatedDataItems to determine that I have at least one record, but how can I determine that the record(s) is(are) valid?