Posted 20 June 2018, 1:12 am EST
Background. We are 2 types of validation. For cell validation in a row we are using ‘getError’ and it seems to work great (except it gets call a ton and for large tables may be a problem). Then once a row is complete, using ‘onRowEditEnded’, we call a service to either save the row in a database or return an error. We use ‘itemFormatter’ to show error if there is one. We also call our service to add a new row (it returns a new object that is added to the CollectionView) and delete row(s) (it returns a list of the remaining objects and I repopulate the CollectionView and call refresh on the CollectionView and the grid.
However, if I have an invalid row from ‘getError’ the formatting does not occur after deleting other rows. I can see the ‘getError’ getting called for the first property for that row and an error message is returned but no formatting is being done.
Any help would be greatly appreciated.