Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#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:


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 Nathan Toone

Milestone: tbdfuture
Priority: highlow
severity: criticalnormal

Please post a test case.

comment:2 Changed 12 years ago by Nathan Toone

Resolution: worksforme
Status: newclosed

Closing for now - please reopen with a test case.

comment:3 Changed 11 years ago by andeol

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 and then calling grid.setStore() solved the problem for me.

I am using Dojo 1.5.0.

Note: See TracTickets for help on using tickets.