Hello
I have a problem with the add new row while validating.
How can i cancel changes in the row (what i manage to do) and cleaning the temporary data in the addNewRow that i can not use anymore... ?
I've tried to used :
AddNewRowSettings.AllowAddNewRow = Infragistics.Controls.Grids.
AddNewRowLocation.None;
But it isn't enough...
Thanks, regards
Hi,
Could you attach a small sample that I can use to reproduce your issue ?
Hello,
Your sample didn't help me so much. I use your code but i still have the same problem :
So i wonder if its because I'm using the XamGrid v11.1 and not the 11.2 or if because when i click on cancel buton i set the property of the grid named "IsEnabled" to false. To add a new row, i have to click to a first button to set "IsEnabled" at true.
Thanks for you help
Regards
Did you have the chance to take a look at the attached sample? Does it help to resolve your issue ?
Regards,
Yes, you have understood well. The second click on the button add should show an empty AddNewRow.
Thanks
I was able to play the video. It's actually playable, but for some strange reason you have to wait a few minutes before the video player is loaded ...
From what I've seen, Steve's suggestion should do the trick for you. I tested this out and it worked for me. Attached is the sample that I used for my test.
What I did is the following:
1. Click the "Add Record" button to display the Add New Row.
2. Enter some alphabetical characters in the "Int" field so the validation fails
3. Click "Discard" button to cancel the operation
4. Click the "Add Record" button again and check if the operation is correctly canceled
Is this what you're looking for ?