Jmix way for cuba.gui.genericFilterControlsLayout

Hi,

I’m looking for a way to migrate from CUBA to Jmix the property
cuba.gui.genericFilterControlsLayout which defines the layout of the filter controls.
Especially I want to move the ‘Clear values’ action out of the ‘Settings’ popup menu near to the ‘Search/Refresh’ button, like:

cuba.gui.genericFilterControlsLayout = [filters_popup] [clear_values | no-caption] [add_condition] [spacer] [settings | save_with_values, save_as, edit, remove, make_default, pin, save_search_folder, save_app_folder] [max_results] [fts_switch]

Since IMHO the ‘Clear values’ is not really related to ‘Settings’, it’s more related to the current filter condition(s).

Do we have in Jmix similar possibilities to arrange/configure the controls?

Thanks
Stefan

Just some additions…

Currently I use classic UI - but I also interested in if the Flow UI will have such features in the future.

Thanks in advance

Is there a chance to get some advice?

CU
Stefan

Hi @pinyazhin ,

do you have any good idea to address this ‘missing feature’ of the filter in Jmix?

:wink:
Thanks
Stefan

Hello Stefan!

Unfortunately, Filter does not provide the ability to change control layout, at first sight. Not sure about plans for Filter in Flow UI, maybe @gorelov can provide more detail answer.

Hi,

In case of Flow UI, we have an idea to provide the capability to fully customize generic filter layout. But I can’t give any promises when it will be implemented as the first priority is to make GenericFilter work same as in the classic UI, i.e. provide the same functionality and only then extend its capabilities.

Regards,
Gleb