Provides the ability to set available export modes for each exportAction separately.
Modes set via API have priority over modes set by default using application.properties.
Available modes can be set using the XML markup or the Jmix UI Component Inspector:
See: #3497
Implementation details
Previous implementation
All options are visible if it possible:
New implementation
Application property
A new application property has been created:
jmix.gridexport.default-export-modes
.The property defined a default set of options for export modes for
ExportAction
.The order of the options in the application property is taken into account. Options will be added in the order they are added using property:
The default value of the property remains the same as in the previous implementation:
ALL_ROWS, CURRENT_PAGE, SELECTED_ROWS
New API
io.jmix.gridexportflowui.action.ExportAction#setAvailableExportModes
io.jmix.gridexportflowui.action.ExportAction#withAvailableExportModes
Provides the ability to set available export modes for each
exportAction
separately. Modes set via API have priority over modes set by default usingapplication.properties
.Available modes can be set using the XML markup or the Jmix UI Component Inspector: