Skip to content

Commit b7eddf9

Browse files
authored
Merge branch '9.1.x' into rkaraivanov/rename-barrel-files
2 parents 6ad6b74 + 45a5bb0 commit b7eddf9

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,17 +66,22 @@ 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
* ```
73-
* @memberof IgxHierarchicalGridComponent
7476
*/
7577
@HostBinding('attr.id')
7678
@Input()
7779
public get id(): string {
7880
return this.h_id;
7981
}
82+
public set id(value: string) {
83+
this.h_id = value;
84+
}
8085

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

0 commit comments

Comments
 (0)