Topic: How to translate "Rows per page" from Datatable
Hi, I can't find the property for translate the text "Rows per page" from MDBDataTableV5.
The rest of the labels have their property and they work fine, but I don't know how to tranlate "Rows per page"
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Open
Specification of the issue
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.27.0
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: No
Tags
Related topics
Piotr Glejzer staff commented 4 years ago
try to use prop
entriesLabel
FarStar commented 4 years ago
document.addEventListener('DOMContentLoaded', function () { document.querySelector('.datatable-select-text').innerHTML = 'Строк на страницу:'; }
Krzysztof Wilk staff commented 4 years ago
Hi!
Solution from @Piotr Glejzer is more desirable. You can check the full list of options in the API section https://mdbootstrap.com/docs/react/tables/datatables/#docsTabsAPI :)
Best regards