Opened 13 years ago

Last modified 10 years ago

#10201 closed defect

Programatically removing a tab in a tabcontainer does not work — at Version 1

Reported by: vorun Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.4.0b
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

The makeTab function is from the test_TabContainer.html page.

function makeTab()
var tc = dijit.byId("mainTabContainer");
var cp = new dijit.layout.ContentPane
title: 'Programmatically created tab ' + (progTabCounter++) , 
closable: true
cp.domNode.innerHTML = "I was created programmatically!";
tc.addChild(cp, 0);

I added this function to remove the current selectedChildWidget

function removeTab()
var tc = dijit.byId("mainTabContainer");

Change History (1)

comment:1 Changed 13 years ago by bill

Component: GeneralDijit
Description: modified (diff)
Owner: anonymous deleted

You need to attach test cases to all your tickets using the "Attach File" button. Thanks.

Note: See TracTickets for help on using tickets.