Editor - pageLength Change

Editor - pageLength Change

dpanscikdpanscik Posts: 108Questions: 29Answers: 0

By default pageLength is enabled on Datatable

But it is disabled on Editor.

"lengthChange": true has no effect


            dom: "Bfrtip",
            order: [[0, 'asc']],

            "responsive": true,
            "processing": true, // for show progress bar
            "serverSide": true, // for process server side
            "filter": true, // this is for disable filter (search box)
            "orderMulti": false, // for disable multiple column at once
            "pageLength": 100,
            "lengthChange": true,
            "fixedHeader": {
                header: true,
                footer: false

This question has an accepted answers - jump to answer


  • allanallan Posts: 58,914Questions: 1Answers: 9,485 Site admin

    See this FAQ.


  • tangerinetangerine Posts: 3,303Questions: 33Answers: 393
    Answer ✓

    Your dom options need to include letter "l" to show lengthChange.

    pageLength does not get disabled by Editor. It is defined once in your DT initialisation and persists with Editor.

  • dpanscikdpanscik Posts: 108Questions: 29Answers: 0

    I always wondered what DOM was for... Now I know... Thanks!

Sign In or Register to comment.