Skip to content

Commit 0652c48

Browse files
authored
Merge pull request #6001 from IgniteUI/tzhelev/grids-header-title-8.2.x
Add title attribute to column header - 8.2.x
2 parents 5702bfb + 019169d commit 0652c48

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
All notable changes for each version of this project will be documented in this file.
44
## 8.2.4
5+
- `IgxGrid`, `IgxTreeGrid`, `IgxHierarchicalGrid`
6+
- The header text of the columns and the column groups now has the `title` attribute set to it in order to expose a native browser tooltip.
57

68
### RTL Support
79
Most of the components in the framework now have full right-to-left (RTL) support via the newly included RTL themes.

projects/igniteui-angular/src/lib/grids/grid-header-group.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
<span *ngIf="grid.hasMovableColumns" class="igx-grid__th-drop-indicator-right"></span>
2121
</ng-container>
2222

23-
<ng-template #defaultColumn>{{column.header}}</ng-template>
23+
<ng-template #defaultColumn>
24+
<span [attr.title]="column.header">{{column.header}}</span>
25+
</ng-template>
2426

2527
<ng-container *ngIf="!grid.hasColumnLayouts && column.columnGroup">
2628
<span *ngIf="grid.hasMovableColumns" class="igx-grid__th-drop-indicator-left"></span>

projects/igniteui-angular/src/lib/grids/grid-header.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<ng-template #defaultColumn>
2-
{{ column.header || column.field }}
2+
<span [attr.title]="column.header || column.field">{{ column.header || column.field }}</span>
33
</ng-template>
44

55
<span class="igx-grid__th-title">

0 commit comments

Comments
 (0)