Friends whether ng2-table with ngx-bootstrap?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
10 views
Decided to connect ng2-table.
Everything works except pagination. Began to Google, found the manual that it is necessary to connect the module of ng2-bootstrap.
Are you trying to connect ng2-bootstrap, writes that it is outdated, use ngx-bootstrap.
Well, connect ngx-bootstrap imported from modules

import { PaginationModule } from './ngx-bootstrap-development/src/pagination/pagination.module'; import { TabsModule } from './ngx-bootstrap-development/src/tabs/tabs.module'; .... @NgModule({ imports: [BrowserModule, FormsModule, HttpClientModule, PaginationModule, TabsModule, RouterModule.forRoot(appRoutes)], declarations: [AppComponent, ProductListComponent, ProductCreateComponent, ProductEditComponent, ProductFormComponent, NotFoundComponent, ClientCreateComponent, ClientEditComponent, ClientListComponent, NgTableComponent, NgTableFilteringDirective, NgTablePagingDirective, NgTableSortingDirective, TableDemoComponent ], providers: [ProductService, ClientService], // register services bootstrap: [AppComponent] })


Get the error

ERROR Error: StaticInjectorError[t]:
StaticInjectorError[t]:
NullInjectorError: No provider for t!


I'm doing something wrong or ng2-table with ngx-bootstrap just not friendly?
by | 10 views

1 Answer

0 like 0 dislike
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Apr 9, 2019 by msdos-x86
0 like 0 dislike
1 answer
110,608 questions
257,186 answers
0 comments
35,535 users