Collapsable Dropdown

Hi,

When we click a button i am trying to add new row of drop down.I am using this code

<%@ taglib uri=“isomorphic” prefix=“isomorphic” %>
<HTML><HEAD>
<isomorphic:loadISC />
</HEAD><BODY>
<SCRIPT>
var i=10;

Button.create({
ID: “buttonclick”,
left:200, top:20, width:150,
title:“+”,

//click:"myLabel.setContents('goodbye')",
action: function(){ isc.DynamicForm.create({

ID: “contactsForm”,
left: 400, top: 10,
width: 300,
fields: [
{editorType: “select”,
valueMap:[“Ms”, “Mr”, “Mrs”]
}
]
});}
});

</SCRIPT>
</BODY></HTML>

Using this code the dropdown is added to cotainer when we first click the button. my reqirement is to add new drop down to container when action fires. Please suggest me on this.

To what container? There does not appear to be a container in your code.

Perhaps you need to create a ToolStrip and use addMember() to add your generated components?

collapsable dropdown

Hi,

my intention is when we click the button ,every time a new drop down should be added below the previous dropdown. Please suggest me on this.

Thanks,
Prasuna

Use a VLayout and call addMember() with the newly created dropdown.

You might want to take a look at the documentation and examples.