Is there anyway to call a function when the table is empty after being filtered? Also is there any way to change where the empty table message appears?
For the second part you want http://datatables.net/usage/i18n#oLanguage.sZeroRecords . For the first you could use fnDrawCallback and test to see if there is any data in the table. Specifically if $('td.dataTables_empty').length == 1, then the table is empty.
Awesome plug-in btw. If I ever manage to get this project off of the ground (I have been developing it on and off for a few years now) I will ping a donation your way!
Replies
Allan
Awesome plug-in btw. If I ever manage to get this project off of the ground (I have been developing it on and off for a few years now) I will ping a donation your way!
Allan