Topic: How to translate "Rows per page" from Datatable

vicentesg free asked 3 years ago


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"


Piotr Glejzer staff commented 3 years ago

try to use prop entriesLabel


FarStar free commented 3 years ago

document.addEventListener('DOMContentLoaded', function () { document.querySelector('.datatable-select-text').innerHTML = 'Строк на страницу:'; }


Krzysztof Wilk staff commented 3 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



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: 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