Salesforce

How Do I Explicitly Expand/Collapse Tree Nodes at Runtime? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Explicitly Expand/Collapse Tree Nodes at Runtime? (Magic xpa 3.x)

When the user wants to expand or collapse a node on a tree, they can simply click on the + or - sign next to the node. However, if you want to expand or collapse a node explicitly, by raising an event, you can do that by using the Expand Node and Collapse Node events.

Raising an Expand or Collapse Node event

You can raise these events like you would raise any others, using a Raise Event operation in a logic unit, or using the Event Type and Event properties on a push button.

Either event works on the node the user is currently parked on.

See also

The Online and Rich Client Samples projects (program TR07 and RTR07)

Reference
Attachment 
Attachment