Skip to content

Commit

Permalink
Fixed #14559
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Jan 24, 2024
1 parent ae5f992 commit f680fc0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/components/treetable/treetable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3311,6 +3311,7 @@ export class TreeTableCellEditor implements AfterContentInit {
selector: '[ttRow]',
host: {
class: 'p-element',
'[class]': `'p-element ' + styleClass`,
'[attr.tabindex]': "'0'",
'[attr.aria-expanded]': 'expanded',
'[attr.aria-level]': 'level',
Expand All @@ -3323,6 +3324,10 @@ export class TTRow {
return this.rowNode?.['level'] + 1;
}

get styleClass() {
return this.rowNode?.node['styleClass'] || '';
}

get expanded() {
return this.rowNode?.node['expanded'];
}
Expand Down

0 comments on commit f680fc0

Please sign in to comment.