Opened 13 years ago
Closed 13 years ago
#9813 closed defect (invalid)
Bad refresh of grid when resizing window
Reported by: | vincentastek | Owned by: | Bryan Forbes |
---|---|---|---|
Priority: | low | Milestone: | tbd |
Component: | DojoX Grid | Version: | 1.3.2 |
Keywords: | grid resize window refresh width | Cc: | [email protected]… |
Blocked By: | Blocking: |
Description
Hi,
When using a grid with a 100% width and also column width set in %, I got the following problem. If I horizontally size down my window and navigate to refresh it, and then size it up, the grid doesn't automatically size up and I see a gray area at the right of my grid. If I navigate in the grid it goes back to normal.
I got this on FFX 3 and IE 6.
In addition to that, it seems that when I size the windows down in FFX 3, even if I start to navigate, I got various reactions on the already loaded data column alignment.
You may be able to reproduce this with the example attached.
Thanks a lot,
Vincent
Attachments (2)
Change History (3)
Changed 13 years ago by
Attachment: | gaskets.json added |
---|
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
You need to do something like this - so that the grid knows it needs to rerender:
grid.connect(window, "onresize", "resize");
The other option is to use your grid within some sort of layout widget (like a dijit.layout.BorderContainer?).
Data file