TemplateRef service to standardize columns in multiple TurboTables

UI Components for Angular
Post Reply
phil.boyd@live.com
Posts: 4
Joined: 01 Jul 2017, 13:19

17 Oct 2018, 17:22

So I have several columns that are standard across multiple TurboTables. I'm thinking I could create a service that exposes the header definitions as TemplateRefs to standardize them across the different tables, and avoid repetitive coding.

I'm pretty sure how to create the ng-template and TemplateRef properties in the service. But how I would I code the template and host component to add these ref's to the header ng-template?

Thanks

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests