4mjoncas free asked 4 years ago

I use table class:

table id="dtBasicExample" class="table table-bordered table-sm table-striped table-hover table-condensed"

How can I display more items by default ? All of them or 100 by default ?

show [ 10 ] entries is too small !?

thanks for you help

Grzegorz Bujański staff commented 4 years ago

Hi, try use pageLenght when you init datatable: $('#dtBasicExample').dataTable( {<br> "pageLength": 50<br>} );

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: browser
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No