Results 1 to 2 of 2
  1. #1
    rgurijala is offline Member
    Join Date
    May 2012
    Posts
    2
    Rep Power
    0

    Default 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

    STRUTS2 with EXTJS4 --> Pagination Issue-pagination.png

    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

  2. #2
    rgurijala is offline Member
    Join Date
    May 2012
    Posts
    2
    Rep Power
    0

    Default Re: STRUTS2 with EXTJS4 --> Pagination Issue

    Can someone please help me in resolving the issue ?

    Regards,
    Ram

Similar Threads

  1. Struts2-jQuery Issue
    By cantwait in forum Struts
    Replies: 2
    Last Post: 05-16-2012, 04:59 PM
  2. Pagination in struts2
    By ashish1987 in forum Struts
    Replies: 1
    Last Post: 05-14-2012, 03:02 PM
  3. Replies: 0
    Last Post: 10-30-2011, 03:38 PM
  4. Struts2 display tag Issue
    By nickraj in forum Web Frameworks
    Replies: 0
    Last Post: 02-26-2009, 06:03 PM
  5. pagination
    By akhi in forum New To Java
    Replies: 1
    Last Post: 12-31-2008, 10:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •