KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Datatable Page lengthMenu #1359

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

Mithun Jacob commented on Mar 26, 2020

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

David Winterburn commented on Mar 27, 2020

Hi Mithun,

Here it is:

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

when i change lengthmenu, data cannot be displayed?

David Winterburn commented on Mar 30, 2020

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