You may not want to replace the Section as such, but rather just the (singular) item within it. In that case, retrieve the SectionStack by its ID (as fatzopilot showed) then use removeItems() / addItems() to manipulate the items within the section.
Announcement
Collapse
No announcement yet.
X
-
Hi,
I am having more then item in my SectionStack.
Code:<SectionStack ID="SectionStackBodyLeft" width="20%" height="100%" autoDraw="false"> <sections> <SectionStackSection> <ID>SectionStackSection_Catalog</ID> <title>Catalog</title> <autoShow>true</autoShow> <resizeable>true</resizeable> <items><Canvas ref="TreeGrid_Catalog"/> </items> </SectionStackSection> <SectionStackSection> <ID>SectionStackSection_Catalog_FavoriteItems</ID> <title>Favorite Items</title> <autoShow>true</autoShow> <resizeable>true</resizeable> <items><Canvas ref="TreeGrid_Catalog_FavoriteItems"/> </items> </SectionStackSection> <SectionStackSection> <ID>SectionStackSection_Search</ID> <!-- <title>Search</title> <autoShow>true</autoShow> <expanded>true</expanded> <resizeable>true</resizeable> <items><Canvas ref="DynamicForm0"/><Canvas ref="ToolStrip_SearchItem"/> </items> --> </SectionStackSection> </sections> <visibilityMode>multiple</visibilityMode> <animateSections>true</animateSections> <reverseOrder>false</reverseOrder> <showHover>false</showHover> <showResizeBar>true</showResizeBar> <showEdges>false</showEdges> <showShadow>false</showShadow> </SectionStack>
Deepak Singh
Comment
Comment