ggmod/angular-2-data-table-demo

working for angular5?

Opened this issue · 0 comments

I tried to use this package in angular 5 but got error:

Can't bind to 'pagination_limit' since it isn't a known property of 'data-table'.

  1. If 'data-table' is an Angular component and it has 'pagination_limit' input, then verify that it is part of this module.
  2. If 'data-table' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
  3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. ("
    <data-table id="persons-grid"
    headerTitle="Employees"
    [ERROR ->][pagination_limit]="true"
    [items]="items"
    [itemCount]="itemCount"
    "): ng:///AppModule/AppComponent.html@3:14
    Can't bind to 'items' since it isn't a known property of 'data-table'.