Salesforce

How Do I Show/Hide the Expand/Collapse Buttons? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Show/Hide the Expand/Collapse Buttons? (Magic xpa 3.x)


Show Buttons = No

Show Buttons = Yes

By default, each node of a tree has a small ‘+’ or ‘-’ button next to it. Clicking on a ‘+’ will expand a node, and clicking on a ‘-’ will collapse the node.

You can turn these buttons on and off using the Show Buttons property of the Tree control.

Turning on/off the expand/collapse button

  1. Select the Tree control.

  1. Go to Control Properties -> Show Buttons.

  2. Set the value to True if you want the buttons, False otherwise.

Note: If Show Buttons = True, then by default leaves of the tree -- that is, the items with no sub-items -- will show up with a “+” sign when the tree first appears. If you want to avoid this, set Node Preload or Auto Expand to True.

See also

The Online and Rich Client Samples projects (program TR04 and RTR04)

Reference
Attachment 
Attachment