Hi,
I show a grid in a modal page. My grid have in one column a button. When I click on these button I show another modal page. My data class implements IEditableObject. When I close the second modal page, the XamGrid call the EndEdit function.
Same scenario works correctly when I show the grid in the main page.
I have add a sample to reproduce it.
Regards
Marco
Hello 280872,
I ran the sample attached on the thread for understanding on how the xamGrid is currently being used. You can provide information on the issue that you're experiencing with the control.
Let me know if you have any questions with this matter. Thank you.
when you start the sample you see a grid and a button. The button is above the grid. When you click on the butten "Show modal form" I start a modal page with the same grid. Now, start editing on this grid and click on the button in the column "Comment". A new modal page is visible. When I close this page, the function "CancelEdit" from the IEditableInterface was raised in my GridRow class.
When I do the same, with the grid on the main page, it works correctly. The grid is after the modal page in edit mode and don`t call the CancelEdit function.
Hope this helps.
This is just a follow up on the thread if you have any questions in regards to the CancelEdit method executing when using the xamGrid control.
As far as using the CancelEdit method of IEditableObject firing should be expected once the user presses the escape key in edit mode of the xamGrid control.