Hi
Same grid as last post.
When we hit the add row button (from the template at the bottom of the grid) a nice new row appears with no data. Trouble is, if I hit the update button (nothing to do with the grid) it allows the row to be empty.
How do I trap for empty rows before the update?
Thanks
Jerry
Hi Jerry,
I would probably use the BeforeRowUpdate event and examine the cell values. You can cancel the event if there is nothing in it.
Mike
Thanks. That clearly works OK. But, when I cancel the event it removes the row. Is there a way of cancelling the update event but leave the row on the grid with any data so far populated, e.g. if user has just missed one field this would save them having to re-enter all the data...