Closed andrewobukhov closed 8 years ago
<table class="table table-striped" [mfData]="data" #mf="mfDataTable" [ERROR ->][mfRowsOnPage]="10">
<thead>
<tr>
"): ProjectsComponent@15:75 'mfDefaultSorter' is not a known element:
<th style="width: 10%">"): ProjectsComponent@22:12
Thank you. For help
Which version are you using?
angular-cli@1.0.0-beta.17 and Angular 2.1.0 and datatable 0.5.1
Sorry. It was my mistake. I'm new in Angular2. I created new module for my component (and forgot) but trying add DataTableModule to root module (app.module.ts).
Hello. I am trying to use this component in my angular-cli project (it use WebPack). But I could not.
My Configuration:
import {DataTableModule, DataTable} from "angular2-datatable";
@NgModule({ imports: [ BrowserModule, AppRoutingModule, Ng2BootstrapModule, ChartsModule, DataTableModule ], })
Error:
error_handler.js:47EXCEPTION: Uncaught (in promise): Error: Template parse errors: There is no directive with "exportAs" set to "mfDataTable" ("ss="panel-heading">User information
"): ProjectsComponent@15:57 Can't bind to 'mfData' since it isn't a known property of 'table'. ("
"): ProjectsComponent@15:41 Can't bind to 'mfRowsOnPage' since it isn't a known property of 'table'. (">User information