Angular Datatables on Ionic 4

Is there anybody who used Angular Datatables on Ionic Project? I’m really stucked. I am always getting 'Can’t bind to ‘dtOptions’ since it isn’t a known property of ‘table’ and 'Can’t bind to ‘dtTrigger’ since it isn’t a known property of ‘table’ errors. What should I do?

I tried another angular data table component. I just got the same problem. Is it about lazy loading? Is there a speclai way to add angular components to Ionic 4 project?

If you’re lazy loading, you need to import the datatable into your page module. For examlpe, if you’re using ngx-datatable:

In my-page.module.ts

import { NgxDatatableModule } from '@swimlane/ngx-datatable';
...
@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    IonicModule,
    NgxDatatableModule,
...