Opened 13 years ago

Closed 13 years ago

#9625 closed defect (duplicate)

DataGrid does not render on an inactive tab

Reported by: Sanjay Madhavan Owned by: Bryan Forbes
Priority: high Milestone: tbd
Component: DojoX Grid Version: 1.3.2
Keywords: Cc:
Blocked By: Blocking:


using dojo 1.3.2, FF 3.5

I was having a lot of trouble getting DataGrid? to display within a content pane.

I have a html page with a tabbed interface with multiple tabs and each tab containing a BorderContainer? with design="headline".

My first tab had non grid content and that worked fine.

My second tab had a DataGrid? and if i put the DataGrid? as the only widget on the tab it worked.

If I put the DataGrid? inside a ContentPane? it refused to display.

I had already explicitly set the width and height of all parents of the DataGrid?. In addition the body has a style of width and height 100%.

Finally I saw a post with a workaround of displaying the grid outside the contentpane and then moving it into the contentpane after the grid was built.

That sort of worked for me when I noticed yet another issue that if the grid was built on an inactive tab it will not display!.

I am attaching a sample of the problem. There are two files one that works and one that doesnt.

The sample is a modified version of a working DataGrid? that I would in another ticket.

I would really appreciate if someone could give me a workaround for the grid within the ContentPane? issue and the issue of building a grid on an inactive tab.



Attachments (3)

testgrid_cdn_works.html (5.4 KB) - added by Sanjay Madhavan 13 years ago.
testgrid_cdn_doesnotwork.html (5.4 KB) - added by Sanjay Madhavan 13 years ago.
test_response.txt (559 bytes) - added by Sanjay Madhavan 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by Sanjay Madhavan

Attachment: testgrid_cdn_works.html added

Changed 13 years ago by Sanjay Madhavan

Changed 13 years ago by Sanjay Madhavan

Attachment: test_response.txt added

comment:1 Changed 13 years ago by Adam Peller

Component: GeneralDojoX Grid
Owner: changed from anonymous to Bryan Forbes

comment:2 Changed 13 years ago by Nathan Toone

Resolution: duplicate
Status: newclosed

Duplicate of #9458

Note: See TracTickets for help on using tickets.