i already customize the section header in ISCADASectionHeader.js by putting icon in section header.
isc.ClassFactory.defineClass("ISCADASectionHeader", "ImgSectionHeader");
isc.ISCADASectionHeader.addProperties({
backgroundProperties: { overflow: "visible" },
overflow: "visible",
initWidget : function () {
this.Super("initWidget", arguments);
this.addChild(this.createCustomButton());
},
i call this section header in
isc.SectionStack.create({
visibilityMode:"multiple",
animateSections:true,
animateMembers:true,
visibilityMode:"multiple",
height:300,
ID:"secStackSummary",
width:500,
overflow:"visible",
autoDraw:true,
[B]sectionHeaderClass:ISCADASectionHeader,[/B]
sections:[
{
autoShow:true,
overflow:"visible",
backgroundProperties: { overflow: "visible" },
title:"Level 1",
items:[
lblCoverageIn
],
ID:"secStackLevel",
},
{
autoShow:true,
overflow:"visible",
backgroundProperties: { overflow: "visible" },
title:"Level 2",
items:[
lblCoverageIn2
],
ID:"secStackLevel2",
},
{
autoShow:true,
overflow:"visible",
backgroundProperties: { overflow: "visible" },
title:"Level 3",
items:[
lblCoverageIn3
],
ID:"secStackLevel3",
}
]
the problem occur when i display the multiple section, the section header is just customize in the last section (Level 3) only. Suppose this section header display in section level 1 and level 2 too.
is there any set up that i suppose to do??
can u show me the way and the code??