File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
projects/igniteui-angular/src/lib/grids/tree-grid Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export class IgxTreeGridRowComponent extends IgxRowDirective<IgxTreeGridComponen
4646
4747 /**
4848 * Gets whether the row is pinned.
49- *
49+ *
5050 * @example
5151 * ```typescript
5252 * let pinned = row.pinned;
@@ -113,7 +113,8 @@ export class IgxTreeGridRowComponent extends IgxRowDirective<IgxTreeGridComponen
113113 protected resolveClasses ( ) : string {
114114 const classes = super . resolveClasses ( ) ;
115115 const filteredClass = this . treeRow . isFilteredOutParent ? 'igx-grid__tr--filtered' : '' ;
116- const pinnedRecordClass = this . pinned ? 'igx-grid__tr--disabled' : '' ;
116+ const pinnedRecordClass = this . pinned && ( this . grid . pinnedRecords . indexOf ( this . treeRow ) === - 1 ) ?
117+ 'igx-grid__tr--disabled' : '' ;
117118 return `${ classes } ${ filteredClass } ${ pinnedRecordClass } ` ;
118119 }
119120
You can’t perform that action at this time.
0 commit comments