How to trigger the data.record.change the event on enter key
Problem:
I got one requirement adding ZingGrid inline edit, I noticed that the inline edit -> enter key not triggering data.record.change event.
Steps to reproduce issue in this demo:
1. Double click on any row
2. Update the value
3. Press enter key
2. Update the value
3. Press enter key
Expected:
Trigger data:record:change
Trigger data:record:change
Actual:
Nothing happening.
Solution:
The steps you outlined to replicate the issue would fire the data:cell:change event and not the data.record.change. It only changes a single cell and not the whole record. We've updated this demo for your reference.
Nothing happening.
Solution:
The steps you outlined to replicate the issue would fire the data:cell:change event and not the data.record.change. It only changes a single cell and not the whole record. We've updated this demo for your reference.