Requirement : I want to display the ellipses tool tip when the text is big . if the text is small no need to display the elipsses .
The thing is the ellipses is getting applied for small and large text . I want to display elipses only to large text .
I have tried query info cell method also but unable to figure out how the ellipses is getting applied on all columns .
Below is the code applied :
tooltip(args: QueryCellInfoEventArgs) {
// you can also add tooltip based on condition here
if (args.column.field == UploadDetailsConst.Col1 || args.column.field == UploadDetailsConst.Col2 || args.column.field == UploadDetailsConst.Col3 || args.column.field == UploadDetailsConst.Col4) {
let tooltip: Tooltip = new Tooltip({
content: args.data[args.column.field].toString()
}, args.cell as HTMLTableCellElement);
}
}