how to disable to customize the entries per page menu

how to disable to customize the entries per page menu

Jerry2016Jerry2016 Posts: 7Questions: 4Answers: 0

Hi, how to disable to customize the entries per page menu?

Answers

  • allanallan Posts: 63,441Questions: 1Answers: 10,465 Site admin

    As in the language? Use language.lengthMenu. Or if you mean the options, use pageLength.menu.

    Allan

  • Jerry2016Jerry2016 Posts: 7Questions: 4Answers: 0

    Thanks, is there any way to set the default number of entries in the code, and hide this menu?

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

    You can set the pageLength to default the number of pages shown. Use the layout option to remove the pageLength element. See the first example in the docs.

    Kevin

Sign In or Register to comment.