Skip to content

Commit cd6b31e

Browse files
authored
Merge branch '9.0.x' into fix-7351-9.0x
2 parents 3e71709 + 2be44a9 commit cd6b31e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ export class IgxHierarchicalGridComponent extends IgxHierarchicalGridBaseDirecti
6666
implements GridType, AfterViewInit, AfterContentInit, OnInit, OnDestroy, DoCheck {
6767

6868
/**
69-
* Sets the value of the `id` attribute. If not provided it will be automatically generated.
69+
* Gets/Sets the value of the `id` attribute.
70+
* @remarks
71+
* If not provided it will be automatically generated.
72+
* @example
7073
* ```html
7174
* <igx-hierarchical-grid [id]="'igx-hgrid-1'" [data]="Data" [autoGenerate]="true"></igx-hierarchical-grid>
7275
* ```
@@ -77,6 +80,9 @@ export class IgxHierarchicalGridComponent extends IgxHierarchicalGridBaseDirecti
7780
public get id(): string {
7881
return this.h_id;
7982
}
83+
public set id(value: string) {
84+
this.h_id = value;
85+
}
8086

8187
/**
8288
* An @Input property that lets you fill the `IgxHierarchicalGridComponent` with an array of data.

0 commit comments

Comments
 (0)