Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't bind to 'rows' since it isn't a known property of 'ngx-datatable'

I followed this link but wherever I add NgxDatatableModule, I just getting this.

Below is the criterias I already have tried.

Added into app.module.ts not work

then added to shared.module not worked

then page.module not worked

All time just getting

Can't bind to 'rows' since it isn't a known property of 'ngx-datatable'.

and interesting part is when before ngx-datatable , I installed ngx-bootstrap then same error occuring with ngx-bootstrap properties.

like image 585
cakePHP Avatar asked Oct 31 '25 00:10

cakePHP


1 Answers

You need to import "NgxDatatableModule" in your app-module and add it in the imports.

import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';


@NgModule({
 declarations: [AppComponent],
 imports: [NgxDatatableModule],
 providers: [],
 bootstrap: [AppComponent]
})
like image 112
Jake Neumann Avatar answered Nov 01 '25 12:11

Jake Neumann



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!