hi i want to hide pagination in datatables if data rows are less than 10.can u please tell me how to implement this.
The simplest way is get some logic together to detect if you have less than 10 entries and then use Jquery to select the dataTables_paginate class and .hide() it (http://api.jquery.com/hide/).
What @Rpiechura says! You want to use drawCallback and page.info() as the callback and API method you need to use.
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.