I'm using xamDataGrid to add new items to the data source. My data source is a collection which implements IBindingList.
What I need is to respond to the event when record represented by 'new row' is becoming 'usual' record. I want to implement some validation logic there.
How can I do that?
I only see two events : RecordAdding and RecordAdded which are obviously not what I need because they are fired right after user starts to edit 'new row'.
Hi Joe,
Well, I see no possibility how EditModeStarting event could help me.
My grid represents collection of Order Items. User can add order items to the collection using 'Insertion Row'. When the user presses enter on 'insertion row' new row, filled by data from insertion row, is added to grid. At this point of time I need to check that user provided data for all properties of Order Item (i.e. filled all the cells of insertion row with values). If one of properties (cells) is blank I need to handle it.
Is there any way to do that? Or may be I need to change smth. in my data source binding list?