Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiExpandTreeItem

hiExpandTreeItem(
g_item
[ g_notify ]
)
=> t / nil

Description

Expands the tree item you specify. This function also executes the expand callback of the tree table field if you specify t as the value of the g_notify argument.

This function is the programmatic equivalent of expanding an item with the mouse or keyboard keys.

Arguments

g_item

The item you want to expand. g_item can either be the return value of hiCreateTreeItem or a symbol specifying the item name.

g_notify

Runs the expand callback of the tree table field. Specify nil if you do not want to execute the expand callback.

Values Returned

t

The item was expanded.

nil

The item does not have a tree under it, the item is already expanded, or there was an error.

Related Topics

hiCollapseTreeItem

hiGetTreeItems

hiCreateTreeTable

Form and Field Functions


Return to top
 ⠀
X