File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes jQuery datatable server side processing Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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
Bartender

Joined: Oct 01, 2001
Posts: 2542
    
  10

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: jQuery datatable server side processing
 
Similar Threads
Getting data from database using ajax
How to create stand alone java application
Server side data push in a java spring-jsf2 web project
DataTable with DataScroller issue
Pass JSON object from server to jQuery and loop on the object