SmartClient Version: v9.1p_2014-07-06/Pro Deployment (built 2014-07-06)
FF 24.6.0 ESR
We display a filter builder in a form with default TopOperatorAppearance.RADIO (Simple Mode), but allow changing to TopOperatorAppearance.BRACKET (Advanced Mode).
We persist the defined filter.
If a user changes to Advanced Mode and persists the filter, when opening up the filter form again, how do we detect that we should show the filter in Advanced Mode, rather than the default Simple Mode.
Do we need to store a flag outside of the filter to specify which mode the filter was defined in?
Furthermore, is there a way to toggle the TopOperatorAppearance programatically after the filter builder has been created. The setTopOperatorAppearance method says it cannot be called after the filter has been created.
Thanks
FF 24.6.0 ESR
We display a filter builder in a form with default TopOperatorAppearance.RADIO (Simple Mode), but allow changing to TopOperatorAppearance.BRACKET (Advanced Mode).
We persist the defined filter.
If a user changes to Advanced Mode and persists the filter, when opening up the filter form again, how do we detect that we should show the filter in Advanced Mode, rather than the default Simple Mode.
Do we need to store a flag outside of the filter to specify which mode the filter was defined in?
Furthermore, is there a way to toggle the TopOperatorAppearance programatically after the filter builder has been created. The setTopOperatorAppearance method says it cannot be called after the filter has been created.
Thanks
Comment