-
Hi, In my igx-grid for certain validation i want to call (cellEdit) even if no changes are done. Is it possible to do? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @kevalgw, As per our API documenting the If you would like to execute some logic just before editing starts, I can suggest handling the cellEditEnter event, which is emitted when cell enters edit mode. Since you mention validation, I believe you will also find our new Grid Editing and Validation features useful. You can read more about them in this topic in our documentation. This was introduced in Ignite UI for Angular version 14.1.0, so in order to take advantage of them your Ignite UI version has to be 14.1.0 or later. |
Beta Was this translation helpful? Give feedback.
Hi @kevalgw,
As per our API documenting the
cellEdit
event here, it is fired after editing is completed, when the cell is exiting edit mode. Thus it cannot really be fired without an edit.If you would like to execute some logic just before editing starts, I can suggest handling the cellEditEnter event, which is emitted when cell enters edit mode.
Since you mention validation, I believe you will also find our new Grid Editing and Validation features useful. You can read more about them in this topic in our documentation. This was introduced in Ignite UI for Angular version 14.1.0, so in order to take advantage of them your Ignite UI version has to be 14.1.0 or later.