DataTable column header template

UI Components for Angular
Post Reply
ps2gf
Posts: 3
Joined: 01 May 2016, 20:30

01 May 2016, 21:00

Hi,

Is it possible to have a template in a DataTable column header? In my case, I have a column with a checkbox in each row and I would like to have a select all/unselect all checkbox in the header. Is this supported?

Thanks!

cagatay.civici
Prime
Posts: 18108
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

01 May 2016, 21:48

We've tried to do it but there is a bug in angular2 preventing us to implement this.

https://github.com/angular/angular/issues/8292

ps2gf
Posts: 3
Joined: 01 May 2016, 20:30

02 May 2016, 05:24

Will this bug be fixed in later releases of Angular 2?

cagatay.civici
Prime
Posts: 18108
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

02 May 2016, 07:31

We hope, it is a pretty important bug regarding @ContentChild, @ContentChildren annotation. It does not find the template elements correctly. Else, we have to find a workaround.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests