Opened 10 years ago

Last modified 6 years ago

#16357 assigned defect

tablecontainer addchild method not rerendering ?

Reported by: telferm57 Owned by: dylan
Priority: undecided Milestone: 1.15
Component: DojoX Layout Version: 1.8.1
Keywords: Cc:
Blocked By: Blocking:


Browsers: FF 16.0.2, IE 8.0.6001 OS: XP SP3

  1. create a TableContainer?
  2. add some rows
  3. startup
  4. add another row
  5. new row not rendered in table container unless I use tableContainer.layout)():

<body class="claro"> <div id="telBlock"></div> <script>



"dijit/form/TextBox","dijit/form/Select","dojo/_base/lang","dojo/dom","dojo/dom-attr", "dojox/layout/TableContainer","dijit/registry", "dijit/_Widget" ], function(TabContainer?, ready,domConstruct, TextBox?, Select, lang, dom, attr, TableContainer?, Memory, registry){

ready(function(){ create a table,

var phoneTab = new TableContainer?( {

cols: 2, customClass:"phoneTab", "labelWidth": "150"


phoneTab.placeAt("telBlock"); add a child to it

var tel3 = new dijit.form.TextBox?({label: "Tel3 ", id:"tel3"}); phoneTab.addChild(tel3);

render phoneTab.startup();

add another child var tel4 = new dijit.form.TextBox?({label: "Tel4 ", id:"tel4"});


phoneTab.layout(); will not render without this

}); end ready

}); end require


Attachments (1)

tctest.html (1.9 KB) - added by telferm57 10 years ago.
test page source

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by telferm57

Attachment: tctest.html added

test page source

comment:1 Changed 7 years ago by dylan

Milestone: tbd1.11
Owner: set to dylan
Status: newassigned

I will review and see if this is an issue. That said, the provided test case doesn't call startup on the TextBox? either.

comment:2 Changed 7 years ago by dylan

Milestone: 1.111.12

comment:3 Changed 6 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.