SAP Expand Tree
Command Description
Expand the parent tree to a specified node or project, with the target being the SAP tree component
Command Prototype
SAP.ExpandTree(objUiElement, sItem, executeIfDisabled)
Command parameter
parameter | required | type | Default value | describe |
---|---|---|---|---|
objUiElement | True | decorator | @ ui"" | Element feature string |
sItem | True | string | "" | Specify tree items or tree nodes in the parent tree |
executeIfDisabled | True | boolean | True | Does the tree project still execute when disabled |
Return result
Run instance
/*********************************SAP 展开树*************************************
命令原型:
SAP.ExpandTree(objUiElement, sItem, executeIfDisabled)
入参:
objUiElement--目标.注:元素特征字符串
sItem--树项目.注:指定父级树中的树项目或树节点
executeIfDisabled--禁用仍然执行.注:树项目禁用时是否仍然执行
出参:
无
注意事项:
无
********************************************************************************/
SAP.ExpandTree(@ui"", "", True)