I try to use ITooltipAngularComp to show a custom toolitp on ag grid angular ( v 20.1.0 ).
Here is the ag-grid call :
<ag-grid-angular
class="ag-theme-balham"
rowSelection="single"
(gridReady)="onGridReady($event)"
[gridOptions]="gridOptions"
[defaultColDef]="defaultColDef"
[frameworkComponents]="frameworkComponents"
>
</ag-grid-angular>
With :
defaultColDef = {
"tooltipComponent": "tooltipRenderer"
}
gridOptions = {
"autoGroupColumnDef": {
"field": "agent",
"headerName": "Agents",
"cellRenderer": "agGroupCellRenderer",
"cellRendererParams": {
"innerRenderer": "agentCellRenderer"
}
},
"groupUseEntireRow": false,
"suppressContextMenu": true
}
frameworkComponents = {
calendarMonthCell: CustomMonthCellComponent,
groupRowInnerRenderer: CustmGroupRowComponent,
tooltipRenderer: TooltipComponent
};
But, I can't see the tooltip when hovering with the mouse on cells ... TooltipComponent is a ITooltipAngularComp (and do compile) and other custom renderers are working as intended ... I also tried without custom cell renderer. I used the tutorial here : https://www.ag-grid.com/javascript-grid-tooltip-component/
Here is something similare to what I do, and that is not working either ( I hope I have not forgotten any config doing this example ): https://stackblitz.com/edit/angular-tmsdw8
Anyone has an idea of my where my config is broken ?