I have a problem.
When I use pagination in datatable (10 rows on 1 page) and if I have less than 10 rows then I would like to hide pagination. How can do this ?
If you use fnDrawCallback ( http://datatables.net/usage/callbacks#fnDrawCallback ) you can check the DOM to see if there are any other pages (the internal function fnSettings().fnRecordsDisplay() will give you the total number of records which will be displayed, which might be useful) - and just set display: none, if needed.
Replies
Allan
Work.