We have just upgraded from version 10 to 14. In the process, we discovered that although the grid's crud service still returns true if the end cell editing event is cancelled, this return value is not passed back in the grid's endEdit method.
Knowing whether or not end cell editing has been cancelled is a critical part of our application's functionality. We absolutely cannot let the user proceed with other operations (navigating away from the page, printing the records, etc) if the cell is still in edit mode and the user's changes have not been persisted.
Please restore the return value for endEdit as soon as possible
Hello,
This behavior has been fixed and is available in our latest version - 16.0.23.
Please test it on your side and let me know if you need any further information regarding this matter.
Regards, Monika Kirkova, Infragistics
Thank you for this! We have just completed our upgrade to version 16, so we will not need a patch for v14, but thank you for offering that as an option.
After discussing this with our development team, I have logged the behavior in our GitHub repository here. Any concerns or questions that you have can be directly addressed in the issue, which will give you the opportunity to directly communicate with the development team.In order to receive a notification whenever new information is available please make sure that you are subscribed to the issue. This can be achieved via the “Subscribe” button.
In addition, I could say that currently, we are working on the issue in order to have fix as soon as possible. However, please note that the supported versions of igniteui-angular at this point are 15.1 and 16.0. If updating to any of these versions is not an option for you, we could provide a patch for version 14.2, however, please keep in mind that this would be outside of the standard procedure and could be considered as an exception.
Please let me know if you need any further assistance regarding this matter.
Sincerely,Teodosia HristodorovaSoftware Developer
I seriously do not understand what the purpose of resistance is here. The crudService already returns false, it is a 2 line code change to have the grid method return the same value.
The workaround method provided is incomplete and inaccurate (how does the value get reset?).
I am extremely disappointed with the level of support we are receiving. We have been dedicated Infragistics customers for 20 years now and this responsiveness is making us rethink our commitment to Infragistics.
I have modified the previously provided sample in order to demonstrate how you could end the editing when the page is changed and commit or not the changes based on whether the cellEdit event is canceled.
In order to achieve this behavior I'm storing the event cancel argument in a global variable.
Using a similar approach you could end the cell editing on other interactions.
Here could be found my sample for your reference. If this is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me along with steps to reproduce.
Thank you for your cooperation.
Looking forward to hearing from you.