Hi Daniel Szuster,
The “Caption Template” feature is
used to show the customized text in the caption cell and the same will be set
to the title attribute without any change. This is the default behavior of the
EJ2 Grid component. However, if you want to show some other value in the tooltip,
you can change this inside the “dataBound” event of Grid as below.
|
dataBound() {
let caption: NodeListOf<Element> = grid.element.querySelectorAll('.e-groupcaption');
caption.forEach((e: Element) => {
e.setAttribute('title', e.getAttribute('title').replace(/<(.|\n)*?>/g, ''));
});
}
|
API: https://ej2.syncfusion.com/angular/documentation/api/grid/#databound
Please get back to us if you need further
assistance on this.
Regards,
Pavithra
S