#4914 closed defect (fixed)
Grid, programatic height/width problems...
Reported by: | tk | Owned by: | sorvell |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | DojoX Grid | Version: | 0.9 |
Keywords: | Cc: | tk | |
Blocked By: | Blocking: |
Description
I'm creating a Grid as a direct child of a tabContainer programatically... I was originally just calling new dojox.Grid({...basic args for view/structure/data...}, document.createElement('div');
That wasnt setting my height/width right so I then tried creating the div and adding 100% height/width styling to it... and that didnt increase my grid size..
Basically I'm trying to get the grid to fill the entire tabContainer tab content area... currently my bottom row is cut in half, and if I inspect it with Firebug I find that no matter what, this.contentNode is getting a height specified in pixels set on it every time, and this overrides all my attempts at forcing it bigger with CSS.
Change History (3)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 13 years ago by
Just an update to this... It was a problem with my methods, I ended up having to connect to the tabContainers addChild, and call render from there, otherwise my grids wouldn't consistently render.
I initially did a setTimeout() but depending on processing time, that wasn't always sufficient.
If possible, please attach an test case (one good way is to take an existing test file and add the problem features).