Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For this purpose there is a Zf_configuration variable which we can use to provide this type of configuration.
- runtimeOptions.frontend.defaultState

For the segment grid there exists two ways to influence columns visibility:
- setting runtimeOptions.segments.disabledFields → BaseMixin.js
- Workflow Settings column visibility

The easyest way to get the columns configuration is to use grid 'getState()' method.
ex:
Ext.ComponentQuery.query('#adminUserGrid')[0].getState();
This will return the column state configuration for the adminUserGrid.
For get the configuration as string we can use the JSON.stringify()

...