Opened 12 years ago
Closed 12 years ago
#9095 closed defect (invalid)
grid's height becomes extreme high when it has only one row
Reported by: | coolhair88 | Owned by: | Bryan Forbes |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | DojoX Grid | Version: | 1.3.0 |
Keywords: | grid | Cc: | |
Blocked By: | Blocking: |
Description
when the "font-family" is set to "Verdana", and the "font-size" is set to "13px" - "15px", and "autoHeight" is ture, and the grid just has only one row, its height becomes extreme high.
I tested it in several computers and found that:
when the "font-size" set to "15px", it happens on Firefox
when the "font-size" set to "14px", it happens on IE6, IE7 and Google Chrome
My test code is here: http://pastie.org/440374
Attachments (1)
Change History (5)
comment:1 Changed 12 years ago by
comment:2 follow-up: 3 Changed 12 years ago by
Milestone: | 1.4 → tbd |
---|---|
Priority: | highest → normal |
BTW you can (and should) attach test cases to the ticket (after submitting the original ticket) by using the "attach file" button. That paste you had is missing at least the dojo.require() statements.
You should also let the grid owner mark a milestone, since it means that they are committing (or at least hoping) to have the fix by a certain release.
But having said that, thanks for coming up with a test case and tracking down the problem.
Changed 12 years ago by
this is a test case, open it with different browsers
comment:3 Changed 12 years ago by
Replying to bill:
BTW you can (and should) attach test cases to the ticket (after submitting the original ticket) by using the "attach file" button. That paste you had is missing at least the dojo.require() statements.
You should also let the grid owner mark a milestone, since it means that they are committing (or at least hoping) to have the fix by a certain release.
But having said that, thanks for coming up with a test case and tracking down the problem.
I'm sorry. I'm new here and there are many things that I didn't know. I think it's a serious problem and should be fixed as quickly as possible.
comment:4 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
This is the compat grid - which has not been supported for quite some time. Please resubmit a test case using the current grid (dojox.grid.DataGrid?) - and reopen the bug if you are still seeing the issue.
I finally find that problem is casued by measurePage function in scroller.js
the last line of the function is "return (this.rowsPerPage == h)?(h*this._defaultRowHeight):h;"
and it returns true when grid just has one row sometimes