We just recently updated to version 10.3, and I seem to have run into a bug between the two versions. When I attempt to force an editing cancel on the active cell on a grid while there is a validation error the method doesn't cancel the edit.
Here is what I call on each of the grids:
// clear out changes from grids
this.dgItemsByLocation.ExitEditMode(true);
And this fails to clear the grid entry, and when I attempt this command in the debug it returns false from the method. Has the ability to cancel entries in the grid been disabled.
See the Screen Shot for a display of the grid after the ExitEditMode is called. It retains the invalid value, and fails to exit the edit mode.
Hello Benji,
Thank you for your feedback. I am glad that you resolved your issue and I believe that other community members may benefit from this as well.
Thanks again.
My team was able to figure out that the reason this was causing issues was because the validation check was outside of the if-then statement which determines if there was a change in value. I will let you know if we run into any other issues with this.
Thank you.
Ok, so after I got back this week I found an issue within our implementation of the XamGrid which was causing the RIA services objects to not properly work with the ExitEditMode.
The issue now is that our extension objects on the client side are not working as they should with the grid. I have created a new project for testing this issue, and I have included our DLL files, and the projects reference them. Use the TestInt column to do the testing, that property is the one having the issue.
I hope this helps to find the issue. This worked in 10.2 by the way, and that is why i'm having the issues.
The project is linked too because it was too large compressed to be uploaded.
Thanks.
Have you had a chance to look into this again? I still have a large project waiting for this to be fixed.
Yes, as stated above this problem continues with RIA data objects which is what I'm binding to my grids. I suggest testing this with my version, as I believe the time you tested the RIA binding was before you knew which version I have.