Read columns of the view
rillsoft_view_columns_getReads the left-hand column layout of the active Rillsoft view, returning names, captions, visibility, width, order, and hidden columns for Gantt, variance, resource, and capacity views.
Instructions
Reads the columns of the list on the left of the visible view - the Gantt chart, the three variance views and the resource and capacity views carry one. Per column it gives name (the contract name), caption (the heading in the language of the running program), visible, width in neutral units and toggleable, in display order and hidden columns included. The field order repeats that display order as a plain list of names, ready to be passed back to rillsoft_view_columns_apply. In the network diagram and the bar network diagram there is no such list and the call fails, pointing at rillsoft_view_state_apply. Read-only, no undo step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | Yes | name of the visible view the columns belong to | |
| order | Yes | contract names of all columns from left to right - the arrangement of the column headers, not a sorting of the rows. Same sequence as columns[]; pass it back to rillsoft_view_columns_apply to restore the arrangement | |
| columns | Yes | every column of the list in display order, hidden ones included |