More Grid questions:
1. In XamGrid, if I have a cell validation error in the add row, and I don't type anything into the offending cell, and I can't escape out of the error. In this scenario. escape invokes IDataErrorInfo column validation again, and locks in the error.
2. In XamGrid, if I have a condition that requires cancellation (e.Cancel=true) of RowExitingEditMode, and I click a cell outside the active row (not resolving the error condition from that event), RowExitingEditMode is again called twice instead of once. I have a costly row-level calculation in that event (things worked well using XamDataGrid's RecordUpdating event for this).
3. Things were going well with XamDataGrid until I tried to use ControlHostEditor as a means of templating columns. I had no luck with that extension, after compiling it in V4, having tried it after reading Andrew Smith's warning about the edit mode limitations of the straight Template property. Has anyone used that with success?
I've poured over the reference docs, samples, and sample for ControlHostEditor. Any help with the issues is appreciated. Thanks.
My resolution was to use to use XamDataGrid for editing, as its templating capability, though a little verbose, is workable for me.
Hello Darryl,
I am glad that you have come to a resolution. I was able to reproduce all of your issues. I am checking with development to verify if the 1st item is expected functionality and various workarounds. The 2nd item will be logged as a bug.
If you would like me to look further into item 3, please let me know.
Let me know if you need any further assistance.
Sincerely,JonInfragistics, Inc.http://es.infragistics.com/help
Thank you Jon. For #1, I would expect the grid to back out the placeholder add row.
I have asked our engineering staff to examine these issues further. To ensure that it will receive attention, I have logged these behavoirs in our internal tracking system as
Row Adding Issue: Development ID 120604
Row Editing Issue: Development ID 120603
I have also created a private case to track these issues for you. The case number is CAS-99138-P8J4Y8
I will leave this case open and update you with any new information after the review. You can also continue to send updates to this case at any time.
You can view the status of the development issue connected to this case by selecting the "Development Issues" tab when viewing this case on the web site.
Please let me know if you need more information, and thank you for bringing these issues to our attention.
Cheers,JonInfragistics, Inc.http://es.infragistics.com/help