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
Hello Danielle,
Thank you for choosing Infragistics.
I have been looking into your issue and in order for me to assist you the best way possible I would like to ask you a couple of questions. Would you please provide me with more detailed information on the functionality and behavior you want to achieve in your project? Would you also please send me a sample application of your project where the issue you have described is being reproduced? Having this information would help me further investigate this matter for you.
If you need any further assistance on this matter, please do not hesitate to ask.
This is the desired workflow.
Right now, instead of 4, the grid keeps the value in the new row and the unsaved indicator goes away, signalling a successful save. The fact that the values are still in the new row in addition to the signal going away is confusing and might imply success, since no specific error is thrown.
I'll work on a sample this afternoon.