Skip to content

Commit 44fe867

Browse files
committed
feat(IgxCell): add title attribute to the cell component #6215
1 parent 4a328e7 commit 44fe867

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

projects/igniteui-angular/src/lib/grids/cell.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,11 @@ export class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy {
285285
return `${this.row.gridID}_${this.rowIndex}_${ this.visibleColumnIndex}`;
286286
}
287287

288+
@HostBinding('attr.title')
289+
public get title() {
290+
return this.editMode || this.cellTemplate ? '' : this.value;
291+
}
292+
288293
/**
289294
* Returns a reference to the nativeElement of the cell.
290295
* ```typescript

0 commit comments

Comments
 (0)