gigaZhang / struts2-jquery

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

Showcase Grid with Subgrid unresponsive after loading #1098

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.http://struts.jgeppert.com/struts2-jquery-grid-showcase/index.action
2.Click on Grid with Subgrid

What is the expected output? What do you see instead?
1.The green Loading... notification does not go away although the grid has 
loaded.
2.No buttons or arrows or select boxes in the navigator or top pager work 
except View selected row.  The Search dialog opens but nothing happens when you 
click Find.

Which struts2 version?
2.3.16

Which struts2-jquery plugin version?
3.7.0

Which browsers?
Chrome 34.0.1847.116 m
Firefox 24.4.0 esr

Please provide any additional information below.

1.The Subgrid with 3 Level works, but it has no search button.

2.From my own investigation of a similar issue:

2a.The problem requires filters or searchable columns in order to show up.
2b.The problem shows up after the filters are used for the first time.
2c.The problem shows up with searchable columns even before they are used.
2d.It requires no date or datepicker to be involved.
2e.Stopping in any debugger on an unrelated breakpoint fixes it.
2f.No request appears to come from the client to the server after the problem 
appears.

3.Therefore I conclude that it is a timing issue and/or race on the client 
related to what happens (or does not happen) when a response is received to the 
Ajax call loading the grid with (JSON) data.

Original issue reported on code.google.com by albist...@llnl.gov on 17 Apr 2014 at 10:37

GoogleCodeExporter commented 9 years ago

Original comment by johgep on 22 Apr 2014 at 6:52

GoogleCodeExporter commented 9 years ago
Looks like the grid attribute navigatorCloneToTop is the source of the problem.

Original comment by johgep on 22 Apr 2014 at 8:19