Opened 7 years ago

Closed 6 years ago

#14908 closed defect (patchwelcome)

dojox.grid.DataGrid autoHeight & noSroll Bug

Reported by: fbos Owned by: Evan
Priority: undecided Milestone: tbd
Component: DojoX Grid Version: 1.7.2
Keywords: Cc: Brian Arnold
Blocked By: Blocking:

Description

Hello Guys,

I've found an Issue using Dojox.grid.DataGrid?.

I've got this little sample to show you guys what i mean:

<span dojoType="dojo.data.ItemFileReadStore" 
	jsId="jsonStore" url="../../../dijit/tests/_data/countries.json">
</span>
<h5>Locked views specified with tables and colgroups</h5>

<table dojoType="dojox.grid.DataGrid"
	store="jsonStore"
	autoHeight = "true"
	rowsPerPage="30"
	query="{ name: '*' }"
	style="width: 600px;"
	rowSelector="20px">
	<colgroup span="1" noscroll="true" width="300px"></colgroup>
	<colgroup span="4"></colgroup>
	<thead>
		<tr>
			<th field="name" width="auto">WERT Country/Continent Name</th>
			<th width="100px" field="population">Population</th>
			<th width="100px" field="area">Land Mass</th>
			<th width="100px" field="timezone">Time Zone</th>
			<th width="5em" field="type">Type</th>
		</tr>
	</thead>
</table>

Now I've got two different Graphical Presentation in the Mozilla Firefox and Internet Explorer. The Problem in this sample is, that the horizontal scroll bar inside the Internet Explorer is misplaced. The Firefox shows it the right way:

Here is a Screenshot of the Firefox, the right way!


http://s7.directupload.net/images/120228/brxnnpfi.png

Now here is the Internet Explorer which won't do it the way i want it...


http://s14.directupload.net/images/120228/5t3whsg7.png

So here is what happen if you are going to scroll the DataGrid? on the vertical scrollbar.


http://s7.directupload.net/images/120228/96vbvnow.png

If there are any solutions for this Bug, please give me Information about this Issue.

Greatings fbos

Change History (4)

comment:1 Changed 7 years ago by bill

Component: GeneralDojoX Grid
Owner: set to Evan

comment:2 Changed 6 years ago by Brian Arnold

Cc: Brian Arnold added

As an update, we recently ran into this bug. It turns out that it's dependent on the browser being in quirks mode. When a doctype is in play and the page is rendering in standards mode, this bug does not manifest.

comment:3 Changed 6 years ago by bill

DojoX Grid and EnhancedGrid are deprecated in favor of dgrid and gridx.

You should upgrade your code to use one of those two grids.

We will consider patches to the old DojoX Grid code though.

comment:4 Changed 6 years ago by bill

Resolution: patchwelcome
Status: newclosed
Note: See TracTickets for help on using tickets.