permaculture playing cards
The moose likes HTML, CSS and JavaScript and the fly likes jQuery datatable server side processing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jQuery datatable server side processing " Watch "jQuery datatable server side processing " New topic

jQuery datatable server side processing

Guna sekar
Ranch Hand

Joined: May 18, 2010
Posts: 32
I need to load the data using Jquery datatable.. Also I am using server side processing. Now on load of the page I need to get the data for mentioned cache size(suppose cache size is 2 Pages and per page is 10 records and total records is 50).now if I click on page 3 then it should go to server side.on load of the page data should be done in one request.
Greg Charles

Joined: Oct 01, 2001
Posts: 2968

Just to be clear, do you mean you are using the JQuery data tables plugin from here? The one time I used that plugin, I let it load all the data rows and handle paginating on its own. You would like to avoid transferring all that data to the client though, and let it request more rows from the server as needed. Is that right?
Guna sekar
Ranch Hand

Joined: May 18, 2010
Posts: 32
Yes.I am using jquery datatable. As of now I have done like,I will go to the controller and do some actions and while loading jsp, called server side processing and this will be an ajax call. So now there will be 2 request one that comes from controller and the other return from ajax.I want to make it to one request at the same time I need to do ajax..
I agree. Here's the link:
subject: jQuery datatable server side processing
It's not a secret anymore!