Skip to content

Commit e136f77

Browse files
authored
migrate cellID to id (#2782)
1 parent 7c23b53 commit e136f77

8 files changed

Lines changed: 9 additions & 9 deletions

File tree

src/app/grid/custom-grid-paging-style/custom-grid-paging-style.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</igx-column>
2929
<igx-column [field]="'Delete Row'" [filterable]="false">
3030
<ng-template igxCell let-cell="cell">
31-
<button igxButton="icon" (click)="removeRow(cell.cellID.rowIndex)">
31+
<button igxButton="icon" (click)="removeRow(cell.id.rowIndex)">
3232
<igx-icon>delete</igx-icon>
3333
</button>
3434
</ng-template>

src/app/grid/grid-batch-editing/grid-batch-editing-sample.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[rowEditable]="true">
44
<igx-column [editable]="false">
55
<ng-template igxCell let-cell="cell" let-val>
6-
<button igxButton (click)="grid.deleteRow(cell.cellID.rowID)"
6+
<button igxButton (click)="grid.deleteRow(cell.id.rowID)"
77
[disabled]="cell.row.deleted">Delete</button>
88
</ng-template>
99
</igx-column>

src/app/grid/grid-batchEditing-remotePaging/batch-editing-remote-paging.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</igx-grid-toolbar>
1818
<igx-column [pinned]="true" [filterable]="false" [editable]="false">
1919
<ng-template igxCell let-cell="cell" let-val>
20-
<button igxButton (click)="deleteRow(cell.cellID.rowID)" [disabled]="cell.row.deleted">Delete</button>
20+
<button igxButton (click)="deleteRow(cell.id.rowID)" [disabled]="cell.row.deleted">Delete</button>
2121
</ng-template>
2222
</igx-column>
2323
<igx-column field="ID" editable="false"></igx-column>

src/app/grid/grid-editing-sample/grid-editing-sample.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</igx-column>
3535
<igx-column width="100px" [filterable]="false">
3636
<ng-template igxCell let-cell="cell">
37-
<button igxButton="icon" (click)="removeRow(cell.cellID.rowIndex)">
37+
<button igxButton="icon" (click)="removeRow(cell.id.rowIndex)">
3838
<igx-icon>delete</igx-icon>
3939
</button>
4040
</ng-template>

src/app/hierarchical-grid/hierarchical-grid-batch-editing/hierarchical-grid-batch-editing.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[primaryKey]="'Artist'" [height]="'550px'" [width]="'100%'" [rowEditable]="true">
55
<igx-column width="150px" [editable]="false">
66
<ng-template igxCell let-cell="cell" let-val>
7-
<button igxButton (click)="removeRow(cell.cellID.rowIndex)"
7+
<button igxButton (click)="removeRow(cell.id.rowIndex)"
88
[disabled]="cell.row.deleted">Delete</button>
99
</ng-template>
1010
</igx-column>

src/app/hierarchical-grid/hierarchical-grid-editing/hierarchical-grid-editing.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
[hasSummary]="true" [summaries]="mySummary"></igx-column>
1313
<igx-column [width]="'100px'">
1414
<ng-template igxCell let-cell="cell">
15-
<button igxButton="icon" (click)="removeRow(cell.cellID.rowIndex)">
15+
<button igxButton="icon" (click)="removeRow(cell.id.rowIndex)">
1616
<igx-icon>delete</igx-icon>
1717
</button>
1818
</ng-template>

src/app/theming/default-theme-sample/default-theme-sample.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
</igx-column>
4444
<igx-column [field]="'Delete Row'" [filterable]="false">
4545
<ng-template igxCell let-cell="cell">
46-
<button igxButton="icon" (click)="removeRow(cell.cellID.rowIndex)">
46+
<button igxButton="icon" (click)="removeRow(cell.id.rowIndex)">
4747
<igx-icon>delete</igx-icon>
4848
</button>
4949
</ng-template>

src/app/tree-grid/tree-grid-batch-editing/tree-grid-batch-editing-sample.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
[width]="'100%'" [height]="'500px'" [rowEditable]="true">
44
<igx-column filterable="false" width="150" [editable]="false">
55
<ng-template igxCell let-cell="cell" let-val>
6-
<button igxButton (click)="deleteRow(cell.cellID.rowID)"
6+
<button igxButton (click)="deleteRow(cell.id.rowID)"
77
[disabled]="cell.row.deleted">Delete</button>
88
</ng-template>
99
</igx-column>
1010
<igx-column filterable="false" width="180" [editable]="false">
1111
<ng-template igxCell let-cell="cell" let-val>
12-
<button igxButton (click)="addChildRow(cell.cellID.rowID)" [disabled]="cell.row.deleted">Add Child
12+
<button igxButton (click)="addChildRow(cell.id.rowID)" [disabled]="cell.row.deleted">Add Child
1313
Row</button>
1414
</ng-template>
1515
</igx-column>

0 commit comments

Comments
 (0)