hi,
i have problem in setting the setSectionHeaderClass
it doesnot works!!
In my application i hav used many sectionstacks.i need to put a particular style for one of them ,others default style
so i use this inherited way..
I also tried by overriding the script in external html page as
This works ,but it applies for all..
how can i put sectionheader for a particular section ..
Am using smartgwt 2.4 ,Firefox and netbeans
i have problem in setting the setSectionHeaderClass
Code:
SectionStack stack = new SectionStack();
stack.setSectionHeaderClass("MySection");
// other settings
}
private static class MySection extends SectionHeader{
public MySection() {
setProperty("src","home/section/menu.png");
setProperty("showRollOver",false);
setProperty("showDown",false);
setProperty("showDisabledIcon",false);
setProperty("showRollOverIcon",false);
setProperty("capSize",2);
setProperty("titleStyle","imgSectionHeaderTitles");
setProperty("baseStyle","imgSectionHeader");
setProperty("backgroundColor","transparent");
}
}
In my application i hav used many sectionstacks.i need to put a particular style for one of them ,others default style
so i use this inherited way..
I also tried by overriding the script in external html page as
Code:
<script>
isc.ImgSectionHeader.changeDefaults("backgroundDefaults", {
src:"home/section/menu.png"
})
</script>
how can i put sectionheader for a particular section ..
Am using smartgwt 2.4 ,Firefox and netbeans
Comment