Results 1 to 2 of 2
- 05-31-2012, 11:14 AM #1
Member
- Join Date
- May 2012
- Posts
- 2
- Rep Power
- 0
STRUTS2 with EXTJS4 --> Pagination Issue
Hello,
I am currently working on a project which uses extjs4.0.7 to display the data received from struts2 action class(through JSON) in a data grid. I was able to load the data in the extjs grid. But, the pagination logic in extjs isnt working as expected, as it cannot handle pagination with the remote data. I have posted the issue in extjs forums and they suggested that the pagination logic should be created on the server side(in action class) so that the extjs can handle the pagination using local pagination store.
The data from action class is forwarded to EXTJS grid using JSON and the grid gets displayed in the JSP page. Please find the screenshot below :-
The issue is, I need to display only 10 records in the first page of the grid and the next 10 records in the second page. However, all the 12 records are populated in the 1st page of the grid

Can anyone let me know if anyone have earlier worked on struts2 with extjs and achieved the paging logic ? If possible can i get a sample code or if any inputs out of expertise on how to put the logic would be very helpful to move forward.
Technologies :- EXTJS4.0.7, Struts2, hibernate3.5, spring2.5
Regards,
Ram
- 06-04-2012, 06:03 PM #2
Member
- Join Date
- May 2012
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Struts2-jQuery Issue
By cantwait in forum StrutsReplies: 2Last Post: 05-16-2012, 04:59 PM -
Pagination in struts2
By ashish1987 in forum StrutsReplies: 1Last Post: 05-14-2012, 03:02 PM -
Struts2 java.lang.reflect.InvocationTargetException (Struts2 with Hibernate)
By sivakumar_sakam in forum Web FrameworksReplies: 0Last Post: 10-30-2011, 03:38 PM -
Struts2 display tag Issue
By nickraj in forum Web FrameworksReplies: 0Last Post: 02-26-2009, 06:03 PM -
pagination
By akhi in forum New To JavaReplies: 1Last Post: 12-31-2008, 10:51 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks