This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jQuery datatable server side processing " Watch "jQuery datatable server side processing " New topic
Author

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
Sheriff

Joined: Oct 01, 2001
Posts: 2833
    
  11

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: http://aspose.com/file-tools
 
subject: jQuery datatable server side processing
 
Similar Threads
How to create stand alone java application
DataTable with DataScroller issue
Server side data push in a java spring-jsf2 web project
Getting data from database using ajax
Pass JSON object from server to jQuery and loop on the object