How can I remove the pagination and show features of a jQuery Data Table ? I only want the searching and sorting features of it and want to get rid the other features. Is there any way?
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- Include empty value fields in jQuery .serialize()
- Disable Browser onUnload on certain links?
- how to get selected text from iframe with javascri
You can do it like this if you are using without jQuery UI themes
http://live.datatables.net/iqewoh/2/edit#preview
with jQuery UI Theme
<"H"lfr>t<"F"ip> == In header put
lfr
.. table .. then footer putip
The
sDom
option doesn't specifically control pagination. In other words, even with sDom specified, only the first "page" of data is displayed, although all the pagination controls are hidden.A better way to do this, at least with 1.9x version of DataTables is to specify the
bPaginate
option.This will prevent pagination and will hide pagination controls.