Export to GitHub

struts2-jquery - issue #366

Grids with Horizontal Scroll Issue in IE


Posted on Nov 30, 2010 by Massive Dog

(This is for feature requests and bugs in Struts2 jQuery Plugin - for getting help, please use the User Group. http://groups.google.com/group/struts2-jquery )

What steps will reproduce the problem? 1. Create a Grid which has lots of columns to produce a horizontal scroll bar 2. As the grid loads, scroll to the right first before selecting a row. 3. Then select a row

What is the expected output? What do you see instead? The row is select as expected. However, the columns of the headers & the rows containting the data are mis-aligned.

Which struts2 version? Struts 2.1.8

Which struts2-jquery plugin version? 2.4.1

Please provide any additional information below. This works fine in Fire Fox. In IE, if you select the row before doing horizontal scrolling there is no problem. However, if you do Horizontal scrolling first, then select the row, The bug appears.

Also note, that when the bug appears, if you scroll to the left most column, the rows aligns itself properly with the headers. So it seems the bug is only on initial select that causes this issue.

Please see screen shot.

Attachments

Comment #1

Posted on Dec 30, 2010 by Helpful Rabbit

The ui.jqgrid.css style sheet file included in the plugin is incorrect. It comes from some older jqGrid version. Replacing the file with the latest version solves the problem.

Comment #2

Posted on Jan 24, 2011 by Swift Lion

this should be fixed with latest version.

Status: Fixed

Labels:
Type-Defect Priority-Medium Component-Grid-Plugin