DataTable : How to hide the pagination and only show it as need?

后端 未结 6 1440
耶瑟儿~
耶瑟儿~ 2021-02-13 01:51

I have 2 tables that are using DataTable jQuery Plug-in. I wondering if there is a way to hide my pagination on the bottom right of my table.

6条回答
  •  春和景丽
    2021-02-13 01:58

    You can give options when you create your datables on Javascript

    $('.examples').DataTable({ "paging": false });

    All options are listed here: http://www.datatables.net/reference/option/

提交回复
热议问题