Serverside processing using scroller iDisplayLenght is set to 81
Serverside processing using scroller iDisplayLenght is set to 81
Hi,
I saw http://datatables.net/release-datatables/extras/Scroller/server-side_processing.html and made one demo application using servlet instead of PHP, and a fetch data from DB using MYSQL (Total 88 records)
Everything is working perfect but when i print iDisplayLength in servlet it gives me value 81 so that server url hits second time when we scroll data upto 70-80 records ( i am checking on http fox)
I want server hit after every 10 records.
Can anyone help me what should i do for that??
Thanks
I saw http://datatables.net/release-datatables/extras/Scroller/server-side_processing.html and made one demo application using servlet instead of PHP, and a fetch data from DB using MYSQL (Total 88 records)
Everything is working perfect but when i print iDisplayLength in servlet it gives me value 81 so that server url hits second time when we scroll data upto 70-80 records ( i am checking on http fox)
I want server hit after every 10 records.
Can anyone help me what should i do for that??
Thanks
This discussion has been closed.
Replies
Display buffer can be used to adjust this: http://datatables.net/docs/Scroller/1.1.0/Scroller.oDefaults.html#displayBuffer - but a value as low as 10 isn't going to be suitable for use with Scroller I suspect.
Allan
Thank you so much for your prompt reply and suggestion.
Will try to do suitable approach.
Thanks,
Sam