Topic: DataTables - Hide page size dropdown

DevPaulLeon free asked 5 years ago


Hello,

Is there currently any way to remove the page size selector the same way there is with the search bar? I'd love to use the pagination of the data table but I want the size to stay consistent. While I can have an empty array for entriesOptions, I would like to have no dropdown or element at all.

Thanks!


Konrad Stępień staff answered 5 years ago


Hi @DevPaulLeon,

We can add new property to set custom classes for entries element.

Then you can add d-none class. Or we can add a property to hide this element.

What way is better for you?

Or maybe do you have some different solutions?

Best regards, Konrad.


DevPaulLeon free commented 5 years ago

I think that it must be something like entries boolean option. Something like "showEntriesOptions: boolean: .

Thank you for your attention!


Konrad Stępień staff commented 5 years ago

Thank you very much for your feedback!  

I added this suggestion to our ToDo list.

We will add this in the near future.  

If there is anything else I could do for you do not hesitate to ask me. I'll be happy to help you.  Best Regards, Konrad



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.21.1
  • Device: PC
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No