Editor - pageLength Change
Editor - pageLength Change
dpanscik
Posts: 202Questions: 47Answers: 0
By default pageLength is enabled on Datatable
But it is disabled on Editor.
"lengthChange": true
has no effect
$("#ApForm").DataTable({
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
Answers
See this FAQ.
Allan
Your dom options need to include letter "l" to show lengthChange.
https://datatables.net/reference/option/dom
pageLength does not get disabled by Editor. It is defined once in your DT initialisation and persists with Editor.
I always wondered what DOM was for... Now I know... Thanks!