KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.

Datatable Page lengthMenu #1359

Open Mithun Jacob opened this topic on on Mar 26 - 3 comments

Mithun Jacob commented on Mar 26

How to Change Page length menu like [100, 200,300,400] in Datatable

David Winterburn commented on Mar 27

Hi Mithun,

Here it is:

DataTables::create(array(
    ...
    "options" => array(
        "pageLength" => 10,
        "lengthMenu" => [5, 10, 25, 50, "All"],
    )
));
Mithun Jacob commented on Mar 27

when i change lengthmenu, data cannot be displayed?

David Winterburn commented on Mar 30

Hi,

Please post your php code and screenshots of the error here. Thanks!

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
None yet

None