Topic: Table Pagination
master@mastersistemas.net pro asked 6 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
asifyali free answered 6 years ago
Is there a way to set default page size when initializing? thanks
Jakub Mandra staff commented 6 years ago
Unfortunately there is no option.
We should add this and some other features soon.
Jakub Mandra staff answered 6 years ago
paging={false}Thank you for posting the problem. Regards, Jakub
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: 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