Table Filter

computingpro pro premium priority asked 5 years ago

How can one increase the table filter from 1o to say 25 or 50?


sundance answered 5 years ago

Hello!

Do you mean page length menu options during pagination?

You can set length as you like it:

$('#dtData').DataTable({ 
  paging: true, // false to disable pagination (or any other option)
  lengthMenu: [[15, 50, 100, -1], [15, 50, 100, "All"]]
});

Best regards,

István


computingpro pro premium priority commented 5 years ago

Thanks for the response, no I meant changing the default from 10 to something else say 25/50


MDBootstrap staff pro premium answered 5 years ago

Hi computingpro,

You are looking for this attibute

"pageLength": 50

If you need additional help I am here for you.

Best Regards, Piotr


andilabs answered 3 years ago

can one get a kind of "serialization" of currently picked filters into get params ?


Mikołaj Smoleński staff commented 3 years ago

Could you describe the problem more precisely?

Keep coding,  Mikołaj from MDB


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
  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: laptop, phones
  • Browser: firefox, i.e
  • OS: windows
  • Provided sample code: No
  • Provided link: No
Tags