Opened 10 years ago

Closed 10 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: vbaudry@…
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)

gaskets.json (60.0 KB) - added by vincentastek 10 years ago.
Data file
test_grid3.html (1.7 KB) - added by vincentastek 10 years ago.
Html file

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by vincentastek

Attachment: gaskets.json added

Data file

Changed 10 years ago by vincentastek

Attachment: test_grid3.html added

Html file

comment:1 Changed 10 years ago by Nathan Toone

Resolution: invalid
Status: newclosed

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?).

Note: See TracTickets for help on using tickets.