BIANEMohamed / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

The virtual scrolling is not working properly in new grid plugin #845

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The virtual scrolling is not working properly in new grid plugin.
The last page data is not coming up if scroll down completely and if scroll 
slowly the progression is incorrect.

What steps will reproduce the problem?
1.Replace the grid.jsp from grid showcase with the attached grid.jsp
2.Scroll down with the vertical scroll bar provided in the grid.

What is the expected output? What do you see instead?
The progression should work properly and grid must show the last page data if 
user scroll down completely.

Which struts2 version?
2.3.3

Which struts2-jquery plugin version?
struts2-jquery-plugin version - 3.3.1
struts2-jquery-grid-plugin version - 3.3.1

Original issue reported on code.google.com by rahultiw...@gmail.com on 26 Jun 2012 at 5:14

Attachments:

GoogleCodeExporter commented 9 years ago
Just tested with current SNAPHOT and I can scroll up to roo 100. Can't see your 
problem. can you please try out latest SNAPSHOT 3.3.2-SNAPSHOT or post more 
specific details? 

Original comment by johgep on 2 Jul 2012 at 1:01

GoogleCodeExporter commented 9 years ago
I am not familiar with maven and 3.3.2 is not published in the available 
downloads so I am not able to try it.
I am also able to scroll up to row 100, but the grid is showing {View 81 - 100 
of 122}
If I will scroll further down I am getting {No records to view}. I saw the logs 
generated by the code it is as follows:

2012-07-03 16:07:47,142 DEBUG 
(com.jgeppert.struts2.jquery.grid.showcase.dao.CustomersDao:23) - Return 
Customers from 100 to 20
2012-07-03 16:07:47,158 DEBUG 
(com.jgeppert.struts2.jquery.grid.showcase.action.JsonTableAction:78) - Page 7 
Rows 20 Sorting Order asc Index Row :
2012-07-03 16:07:47,158 DEBUG 
(com.jgeppert.struts2.jquery.grid.showcase.action.JsonTableAction:79) - Search 
:null null null
2012-07-03 16:07:47,158 DEBUG 
(com.jgeppert.struts2.jquery.grid.showcase.dao.CustomersDao:41) - count 
Customers
2012-07-03 16:07:47,158 DEBUG 
(com.jgeppert.struts2.jquery.grid.showcase.dao.CustomersDao:23) - Return 
Customers from 120 to 20
2012-07-03 16:07:47,174 DEBUG 
(com.jgeppert.struts2.jquery.grid.showcase.action.JsonTableAction:78) - Page 7 
Rows 20 Sorting Order asc Index Row :
2012-07-03 16:07:47,174 DEBUG 
(com.jgeppert.struts2.jquery.grid.showcase.action.JsonTableAction:79) - Search 
:null null null
2012-07-03 16:07:47,174 DEBUG 
(com.jgeppert.struts2.jquery.grid.showcase.dao.CustomersDao:41) - count 
Customers
2012-07-03 16:07:47,174 DEBUG 
(com.jgeppert.struts2.jquery.grid.showcase.dao.CustomersDao:23) - Return 
Customers from 120 to 20

I am not able to see the last 22 rows in the grid.

Original comment by rahultiw...@gmail.com on 3 Jul 2012 at 8:10

GoogleCodeExporter commented 9 years ago
It's working fine with me.

Original comment by kaushikk...@gmail.com on 31 Aug 2013 at 12:00

Attachments: