primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Checkbox Multiple Selection with Paging problem

Open uroti opened this issue 9 years ago • 1 comments

Hello, I'm trying to use a Checkbox Multiple Selection with Paging but when I put this parameter [headerCheckboxToggleAllPages]="true" I have this error:

Unhandled Promise rejection: Template parse errors:
Can't bind to 'headerCheckboxToggleAllPages' since it isn't a known property of 'p-dataTable'.
1. If 'p-dataTable' is an Angular component and it has 'headerCheckboxToggleAllPages' input, then verify that it is part of this module.
2. If 'p-dataTable' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message.
 ("-dataTable [value]="cars" [(selection)]="selectedCars3" dataKey="vin" [paginator]="true" [rows]="5" [ERROR ->][headerCheckboxToggleAllPages]="true">

Without this parameter I can see the table.

What is the problem?

uroti avatar Jun 14 '17 12:06 uroti

Please try with latest PrimeNG version(4.x). If you still face issue then it can be reopened.

sudheerj avatar Jun 14 '17 15:06 sudheerj