If we you want the columns in the grid to be in different order as thay or visibility, than they are by default, we you need to provide that order
in the a config variable and all grid as shown below.
All grid columns must be defined in the this config variable, no matter if they are hidden or not.
For changing the column configuration like width, hidden etc., the appropriate properties are provided in the configuration variable for this column.
...
For this purpose there is a Zf_configuration variable which we can you have to use to provide this type of the configuration. It's name is:-
runtimeOptions.frontend.defaultState
For the segment grid there exists exist two ways to influence columns visibility:
- setting runtimeOptions.segments.disabledFields → BaseMixin.js
- Workflow Settings column visibility
...