Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#11936 closed defect (fixed)

EnhancedGrid - autoHeight does not work correctly in IE8.

Reported by: Dave Thompson Owned by: evan
Priority: high Milestone: 1.6
Component: DojoX Grid Version: 1.5
Keywords: Cc:
Blocked By: Blocking:


I am using an EnhancedGrid? with a datastore. When an item is added to the store, the height of the grid does not expand if autoHeight is set to either true or an integer. Problem happens on IE8, WindowsXP.

Change History (5)

comment:1 Changed 11 years ago by bill

Component: GeneralDojoX Grid
Owner: changed from anonymous to Evan

comment:2 Changed 11 years ago by Dave Thompson

The issue is fixed by replacing a line in the 'measurePage' method within _Plugin.js.


return (!dojo.isIE
this.grid.rowHeight pageHeight > this.rowsPerPage * this.grid.minRowHeight) ? pageHeight : undefined;

To: return pageHeight;

Tested in IE8/WinXP, Chrome and Firefox. I'm assuming the original line had some purpose, so my fix may break other versions of IE.

comment:3 Changed 11 years ago by bill

Owner: changed from Evan to evan

comment:4 Changed 11 years ago by evan

Resolution: fixed
Status: newclosed

Not reproduced in trunk(for 1.6), The measurePage() no longer exists in 1.6

comment:5 Changed 11 years ago by bill

Milestone: tbd1.6

bulk update: bugs fixed in past few months, presumably milestone is 1.6

Note: See TracTickets for help on using tickets.