Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Tab-interaction in igx-grid edit-Mode in case of column's [editable] is depending on data
posted

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:

    <igx-column field="ContactDate" [editable]="true">
        <ng-template igxCell let-cell="cell" let-val>
          {{cell.value}}
        </ng-template>
        <ng-template igxCellEditor let-cell="cell" let-value>
          <span *ngIf="cell.rowData.Archived">{{cell.value}}</span>
          <igx-date-picker
            *ngIf="!cell.rowData.Archived"
            [(ngModel)]="cell.rowData.ContactDate"
          ></igx-date-picker>
        </ng-template>
      </igx-column>

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

Parents Reply
  • 2680
    Offline posted in reply to Santu Nandi

    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

Children
No Data