Hi Isomorphic,
I am attempting, in the FilterBuilder, to dynamically override which fields are displayed, and for some fields, dynamically override the field label, in the field SelectItem.
I was hoping I could do something like the following, however, it does not appear to work.
Any guidance would be appreciated.
Thanks
SmartClient Version: v10.1p_2016-02-24/Pro Deployment (built 2016-02-24)
I am attempting, in the FilterBuilder, to dynamically override which fields are displayed, and for some fields, dynamically override the field label, in the field SelectItem.
I was hoping I could do something like the following, however, it does not appear to work.
Any guidance would be appreciated.
Thanks
SmartClient Version: v10.1p_2016-02-24/Pro Deployment (built 2016-02-24)
Code:
SelectItem fieldPickerProperties = new SelectItem(); LinkedHashMap<String, String> valueMap = new LinkedHashMap<String, String>(); ... // Populate field name/label value map dynamically, with the purpose of 1) dynamically omitting some fields, and 2) dynamically overriding the default label. ... fieldPickerProperties.setValueMap(valueMap); setFieldPickerProperties(fieldPickerProperties);
Comment