Hello I ask how to change the default rows in entries.

Hello I ask how to change the default rows in entries.

CalupazkarlCalupazkarl Posts: 1Questions: 1Answers: 0

$('#many-table').DataTable({
processing: true,
pageLength: 5,
serverSide: true,
deferRender:false,
"ajax": {
url: "action.php",
type: "POST",
data: {
action: 'fetch_appointment'
}
},

Answers

  • kthorngrenkthorngren Posts: 21,299Questions: 26Answers: 4,945

    Are you asking how to show 5 in the length menu drop down? Use the lengthMenu to add the 5 option to the list.

    If this doesn't help then please provide more details about your question.

    Kevin

Sign In or Register to comment.