Sugestion: Create a fnCallBack for the loading records...
Sugestion: Create a fnCallBack for the loading records...
Allan,
First of all thanks for this great plugin.
I hava a sugestion for DataTables. You coud create a callback function that allows us to use another function instead of the default "loading" message.
For example: In my applications I use to block the page (using the "block" API made with jQuery) when the application waits for the server response. If I don't do this, the user can click many times to sort any colunms on the table and for each click I have one request for the server. If I could use any function to block the page while DataTables wait for the server response I could avoid unnecessary use of the server.
If DataTables already has something like this, sorry for the post.
Anyway, thanks.
Fernando
First of all thanks for this great plugin.
I hava a sugestion for DataTables. You coud create a callback function that allows us to use another function instead of the default "loading" message.
For example: In my applications I use to block the page (using the "block" API made with jQuery) when the application waits for the server response. If I don't do this, the user can click many times to sort any colunms on the table and for each click I have one request for the server. If I could use any function to block the page while DataTables wait for the server response I could avoid unnecessary use of the server.
If DataTables already has something like this, sorry for the post.
Anyway, thanks.
Fernando
This discussion has been closed.
Replies
Does DataTables already have an option like this?
Thanks
Fernando