Skip to content

Commit f35bc03

Browse files
committed
refactor(igxTreeGrid): Removes bad rowID getter override
1 parent 3e399d8 commit f35bc03

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

projects/igniteui-angular/src/lib/grids/tree-grid/tree-grid-row.component.ts

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,6 @@ export class IgxTreeGridRowComponent extends IgxRowDirective<IgxTreeGridComponen
7171
}
7272
}
7373

74-
/**
75-
* Gets the ID of the row.
76-
* A row in the grid is identified either by:
77-
* - primaryKey data value,
78-
* - the whole rowData, if the primaryKey is omitted.
79-
*
80-
* ```typescript
81-
* let rowID = this.grid.selectedRows[2].rowID;
82-
* ```
83-
*/
84-
public get rowID() {
85-
const primaryKey = this.grid.primaryKey;
86-
return primaryKey ? this.rowData[primaryKey] : this.rowData;
87-
}
88-
8974
/**
9075
* @hidden
9176
*/

0 commit comments

Comments
 (0)