Our pure JavaScript Scheduler component


Post by cokguzel »

Hi!
Can I use some reference to ng-template (or ng-container) for custom event tooltip and timeline?
The issue is that I need to use translate pipe (for ngx-translate library) for some texts from my custom tooltips and timelines templates but I don't have any idea how to handle it


Post by alex.l »

Hi,

You can use custom elements in the cells and tooltips, but not ng-container. So you'll need to "wrap" angular elements.
Please see demo here https://bryntum.com/products/grid/examples/frameworks/angular/angular-renderer/dist/angular-renderer/
You can download trial for Grid and find source code in examples/frameworks/angular/angular-renderer folder. It also shows how it works for tooltips.

All the best,
Alex


Post Reply