Topic: pagination error in html
Declan Ward priority asked 1 year ago
Expected behavior
No Error
Actual behavior
Type '{ entries: number; entriesOptions: number[]; }' is not assignable to type 'MdbTablePaginationComponent'.ngtsc(2322)member-list.component.ts(40, 44): Error occurs in the template of component MemberListComponent.
Resources (screenshots, code snippets etc.)
Component
import { MdbTableDirective, MdbTablePaginationComponent } from 'mdb-angular-ui-kit/table';
html
<table
class="table datatable-table"
mdbTable
mdbTableSort
#table="mdbTable"
[dataSource]="members"
[pagination]="paginationOptions"
>
Have I missed something?
Declan Ward priority answered 1 year ago
It works now after adding
<mdb-table-pagination #pagination></mdb-table-pagination>
which I missed :(
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Angular
- MDB Version: MDB5 4.0.0
- Device: Desktop
- Browser: All
- OS: Windows 11
- Provided sample code: No
- Provided link: No