Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
905
Force Fire RecordAdding Event
posted

Hi,

We have a grid which has one field which is "editable" but when you enter the edit mode on it a dialog pops up. The results of the dialog are processed and the Cell.Value is set appropriately. For records in the NewRecord row, if this happens to be the only field selected, the RecordAdding event doesn't trigger. When we go to process the ViewModel.Save() method (which attempts to automatically add records as part of the save), it doesn't recognize the NewRecord row as part of the DataGrid. With any other field a key press triggers RecordAdding and it's recognized in the grid, but because of how we handle this particular field it isn't handling appropriately.

I'm wondering how I can alter the cell behind the scenes in the dialog processing so that RecordAdding fires without any keyboard input from the user.

Thanks