Tab-interaction in igx-grid edit-Mode in case of column's [editable] is depending on data
New DiscussionHi
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
Sign In
to post a reply
Replies
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Favorites
0 Replies
5 Created On
Sep 29, 2022 Last Post
3 years, 5 months ago