Opened 10 years ago
Closed 9 years ago
#11990 closed defect (invalid)
DataGrid rerenders even when it's not visible
Reported by: | Remoun Metyas | Owned by: | Bryan Forbes |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | DojoX Grid | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
Attachments (1)
Change History (5)
Changed 10 years ago by
Attachment: | Grid.hide.patch added |
---|
comment:1 Changed 10 years ago by
Owner: | changed from bryanforbes to Bryan Forbes |
---|
comment:2 Changed 10 years ago by
Revisiting this, I'm not sure it's that wasteful to pre-fetch, since it makes tab switches instantaneous/quicker. Perhaps it's better to just make DataGrid?/_Grid more flexible w.r.t loading when hidden?
comment:3 Changed 10 years ago by
Description: | modified (diff) |
---|
That's always the tradeoff between initial page-load speed vs. speed of switching tabs. This issue isn't specific to Grid though, same thing with ContentPane. ContentPane by default loads on show, although it has a prefetch=true flag.
comment:4 Changed 9 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
The grid has the autoRender
option which will keep it from rendering on startup and will wait to render until it is displayed.
Note: See
TracTickets for help on using
tickets.
dojox.grid._Grid shouldn't re-render when it's offscreen