Specifying the number of show entries in the datatables

Topic: Specifying the number of "show entries" in the datatables

DanielHermes asked 2 years ago


I'm looking for a simple solution to edit the number of show entries selections in the datatables. thank you!

Jakub Strebeyko staff answered 2 years ago

Hi there, @DanielHermes,

Currently, the number of entries is somewhat fixed, working in a tandem with pagination and happens on the basis of the amount of available entries inside the datatable, offering no fine-grained control (say, entry-to-entry basis). Would it be something you would like to see implemented?


so in order to control it I have to disable pagination and do the functionality manually, am i right?

Mikołaj Smoleński staff commented 2 years ago

In simplification - yes. We created a complex component which automatically detects pages and allows choosing options from the set of values (10, 25, 50, 100). If You want to change it's behavior You'll need to build the logic by yourself.

Best regards

Please insert min. 20 characters.