#10164 closed defect (worksforme)
grid.setStore broken when grid is embedded in Dialog
Reported by: | drcoelho | Owned by: | Nathan Toone |
---|---|---|---|
Priority: | low | Milestone: | future |
Component: | DojoX Grid | Version: | 1.3.1 |
Keywords: | DataGrid setStore Dialog | Cc: | |
Blocked By: | Blocking: |
Description
When a dojox.grid.DataGrid? is embedded in a dijit.Dialog, and the grid.setStore operation is called, get error 'Sorry, an error occurred'...
Change History (3)
comment:1 Changed 12 years ago by
Milestone: | tbd → future |
---|---|
Priority: | high → low |
severity: | critical → normal |
comment:2 Changed 11 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing for now - please reopen with a test case.
comment:3 Changed 10 years ago by
I had the same problem:
dojox.grid.DataGrid? is embedded in a dijit.Dialog calling grid.setStore() works fine the first time, calling grid.setGrid() the second time displays an error within the grid on IE8 and on FF 3.6 the whole grid becomes a grey rectangle.
This does only occur when the call to setStore() is made while the Dialog was hidden however, so first calling dialog.show() and then calling grid.setStore() solved the problem for me.
I am using Dojo 1.5.0.
Please post a test case.