Hi
I have a column(ContactDate) in an igx-grid which is editable just for part of rows.
To achieve that I use the following code:
In case of edit-mode of the previous cell if 'tab' is pressed my 'ContactDate'-column gets focused.
How to prevent that for cases when the column for the row is not editable?
I use the version 11.1.4
Working example: stackblitz.com/.../github-srbuis-dpvliy
public handleCellEditEnter(event) { if (event.column.field === "ContactDate" && event.rowData.Archived) { event.cancel = true; } }
Thanks for a prompt answer.
There is only one thing I don't understand: provided solution doesn't work for shift-tab.
For some reason prevCell.editMode is false in the case despite it was in the mode.
Hello Santu,
Thank you for reaching out.
By referring to the IgxGridComponent API for the latest patch of version 9.1.x (that would be 9.1.28) here I determined that the activeNodeChange event is not exposed in this version. Additionally, please keep in mind that version 9.1.x is expired and no longer eligible for support. It does not receive any new features, nor fixes since a while ago. The currently supported versions of Ignite UI for Angular are 12.3, 13.2 and 14.1, where the activeNodeChange event is exposed. My suggestion is to upgrade your project’s Angular and Ignite UI versions to the latest in order to take advantage of all introduced fixes and enhancements since then. I recommend reviewing our Update guide for a detailed walk-through on upgrading your app.
Finally, my suggestion is also to create separate support cases or forum threads for subsequent queries, as this will ensure that all your issues are addressed and tracked correctly.
Thank you for understanding.
Best regards, Bozhidara Pachilova Associate Software Developer
I use the version 9.1.10.
For me the 'activeNodeChange' event not working. And getting error on below lines of code
this.grid.navigation.setActiveNode({ row: nextPosition.rowIndex, column: nextPosition.visibleColumnIndex }); args.target.setEditMode(true);
Is there have any other example for version 9.1.10. for the same issue.
Thanks & Regards,
Santu