If you hit the enter key after changing a string value in the cell, the model.dirty flag does not change. If you hit the tab key to go to the next cell, the model.dirty switches to true.
Is there a way to force this behavior on the enter key?
I can see in your demo for Editing Custom Editor that the Product Name exhibits the behavior desired. The enter key closes the cell. That does not occur in our version. Is this something that has been changed somewhere along the way?
Upgrading the Kendo UI suite is a bit risky for us right before a release.
Nikolay
Telerik team
commented on 09 Nov 2023, 12:36 PM
Hi Christopher,
If I understand the current scenario, the Kendo UI Grid in the application has "incell" editing, please correct me if I am wrong.
The enter key will update the data item and the save event will be triggered out of the box if you add "navigatable: true" to the configuration:
we are using Kendo UI v2020.3.915
I can see in your demo for Editing Custom Editor that the Product Name exhibits the behavior desired. The enter key closes the cell. That does not occur in our version. Is this something that has been changed somewhere along the way?
Upgrading the Kendo UI suite is a bit risky for us right before a release.
Hi Christopher,
If I understand the current scenario, the Kendo UI Grid in the application has "incell" editing, please correct me if I am wrong.
The enter key will update the data item and the save event will be triggered out of the box if you add "navigatable: true" to the configuration:
https://docs.telerik.com/kendo-ui/api/javascript/ui/grid/configuration/navigatable
However, if the navigatable is not enabled the enter key will not close the cell.
Also, the model.dirty flag will not change when the Grid sends an update request to the server automatically when the cell is closed.
Hope this clarifies the scenario and please let me know if you have any questions.
Regards,
Nikolay