Hello All,

I have a DataGrid in which I can only allow the user to edit ONE Row at
a time, until they save the Data.

Right now, I am using a Right-Click ContextMenu - so when they hover
over a specific record on the DataGrid, they can select the "Edit" menu
option, and they can then edit those Cells.

What I need to happen at this point, is lock out any other Rows on the
DataGrid, until the user either Saves the changes, or hit a Cancel
Button.

So my question is this:

In my extended DataGrid, which Method must I Override, in order to
ignore any other Mouse Clicks or Row Selections, until the User Saves or
Cancels out of the Edit Mode?

I already understand how to use the itemEditBegin and itemEditEnd
Events, in order to pass along Row and Column information.  But I am not
sure how to modify the actual functionality of the DataGrid, as it
relates to Clicking on other Rows (while another Row is presently in
Edit Mode) and have the Grid do absolutely nothing visually, until
certain criteria's are met.

I'd be eternally grateful for any information you could throw my way, as
I've been wrestling with this problem for many weeks now.

Thank you in advance :)

Mike

Reply via email to