Topic: Table Pagination
master@mastersistemas.net
pro asked 7 years ago
pagination={false} Staying like this:
<MDBDataTable
pagination={false}
striped
bordered
hover
data={data}
/>
However, this error returns this error in the console:
index.js:2178 Warning: Received `false` for a non-boolean attribute `pagination`.
If you want to write it to the DOM, pass a string instead: pagination="false" or pagination={value.toString()}.
If you used to conditionally omit it with pagination={condition && value}, pass pagination={condition ? value : undefined} instead.
in table (created by t)
in div (created by t)
in t (created by d)
in div (created by d)
in d (created by t)
in div (created by t)
in div (created by t)
in t (at FinanceiroFormaPagamento.js:127)
in div (at FinanceiroFormaPagamento.js:126)
in div (created by t)
in t (at MyModal.js:17)
in div
in div
in div (created by t)
in t (created by TransitionGroup)
in span (created by TransitionGroup)
in TransitionGroup
Simulating in the MDB package itself: Img
Jakub Mandra
staff premium answered 7 years ago
paging={false}
Thank you for posting the problem.
Regards,
Jakub
asifyali
answered 7 years ago
Is there a way to set default page size when initializing? thanks
Jakub Mandra staff premium commented 7 years ago
Unfortunately there is no option.
We should add this and some other features soon.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB React
- MDB Version: 4.7.0
- Device: Desktop
- Browser: All
- OS: All
- Provided sample code: Yes
- Provided link: Yes