• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jQuery datatable server side processing

 
Guna sekar
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 2993
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic