Topic: MDBDataTable
Erupendra answered 6 years ago
Jakub Mandra staff premium answered 6 years ago
const data = { columns: [ { label: "Name", field: "name" }, { label: "Position", field: "position" }, { label: "Action", field: "action" } ], rows: [ { name: "Tiger Nixon", position: "System Architect", action: <Button onClick={this.clickHandler}>Action</Button> }, { name: "Garrett Winters", position: "Accountant", action: <Button onClick={this.clickHandler}>Action</Button> }, { name: "Ashton Cox", position: "Junior Technical Author", action: <Button onClick={this.clickHandler}>Action</Button> } ] };
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.7.1
- Device: Web
- Browser: Chrome
- OS: Linux
- Provided sample code: No
- Provided link: No
Anna Morawska staff commented 6 years ago
Hi there,
Unfortunately this is not possible for now, but thank you for bringing our attention to that. We will add it to our TODO list, and try to implement it until the next release.
Best,
Ania
Erupendra commented 6 years ago
Thank you Ana for your quick response.
ayswarya commented 5 years ago
hi is that possible now?
Piotr Glejzer staff commented 5 years ago
Do you mean something like that?
<MDBDataTable entriesOptions={[ 5, 10, 15 ]} />