Read outline state
rillsoft_outline_getRead the current outline expansion state of a resource or capacity view, including open group rows, grouping levels, and whether rows can expand or collapse.
Instructions
Reads how far the visible resource or capacity view is expanded: outline names the absolute state where the view is in one (collapsed, level_1 to level_3, expanded) and mixed where it is not, openRows[] names every group row that is open in the same coordinates the report uses per row, levels[] gives the grouping of the view outermost first, and canExpand and canCollapse say whether anything is left to do. In any other view the call fails and points at rillsoft_view_state_apply. Read-only, no undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| levels | Yes | the grouping levels of the view, outermost first | |
| outline | Yes | the absolute state where the view is in one, otherwise mixed | |
| openRows | Yes | every group row that is open, in display order. Pass the array back to rillsoft_outline_apply to restore exactly this state | |
| canExpand | Yes | true = something is still left to expand | |
| canCollapse | Yes | true = something is still left to collapse |