Opened 12 years ago

Closed 10 years ago

#10638 closed defect (patchwelcome)

Bottom row of the grid is cut in Firefox

Reported by: Idan Owned by: Evan
Priority: high Milestone: 1.8
Component: DojoX Grid Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:


dojox.grid.DataGrid? with many rows (>100) and a formatter which adds images for every row (in a specific column).

In Firefox 3.5.7 (and all other Firefox versions), the bottom row of the grid is not shown properly, i.e. the content is cut, in a way that one may think that that row is actually invisible.

This behavior does not occur in IE or in Chrome.

More Details:
(1) The autoHeight is set to true, with no rowsPerPage set.
(2) Recommendations to call resize() after _OnFetchComplete do not work.
(3) Recommendations to remove border-collapse:collapse do not work.
(4) The "hidden" row is shown if one inspects the html with firebug.

Change History (5)

comment:1 Changed 12 years ago by Nathan Toone

Owner: Nathan Toone deleted

Unassigning my tickets.

comment:2 Changed 11 years ago by evan

Milestone: tbd1.7
Owner: set to evan

comment:3 Changed 10 years ago by evan

Owner: changed from evan to Evan

comment:5 Changed 10 years ago by Evan

Resolution: patchwelcome
Status: newclosed

This is a longly known issue of Grid and haven't figured out an ideal solution.

The major cause is image cells are loaded in an asynchronous way which means images are still loading when grid finished rendering & sizing, and the new image height will expand row height hence messed up page positions & overlay.

There hasn't been an ideal solution mainly due to:
1.How to known when are all the image cells has finished loading so that Grid can do a resizing

2.Even if #1 is possible, the duplicate heavy resize() downgrade performance worse.

So one possible workaround is using explicit row height.

Note: See TracTickets for help on using tickets.