Bayard

Results 7 comments of Bayard

I also have the 'data-table' is not a known element issue when I try to build.. For the moment i build with the command ng build ( without the aot...

I'm having the same prob, did you find a solution ? Thanks

Kind of upset. Try without the --prod nor -aot (actually -aot is included into --prod) Just run ng build and it's working, but no aot.... I'm with version cli 1.2.6

you don't have to "add" those lines, just add the "@NgModule({})". The export declare class DataTableModule { } is already here, just add the @NgModule part. Worked for me.

Hi, You can use a @ViewChild(DataTable) assetsTable: DataTable; of your table and then in the TS file do a : this.assetsTable.selectedRows.forEach(aRow => this.assetService.assets.splice(aRow, 1) ); But the thing is that...