how to display more items

4mjoncas asked 5 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 5 years ago

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


Please insert min. 20 characters.

FREE CONSULTATION

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

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