how to display more items

4mjoncas asked 3 months 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 3 months ago

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


Please insert min. 20 characters.
Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: browser
  • Browser: chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No
Tags