Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Cannot edit filter field after setting a values map

$
0
0
v8.3_2012_11_20/LGPL Development Only (built 2012-11-20) on Firefox 26.0

After I add a values map to a ListGridField, I can no longer edit the filter field

Code:

public void provisionFilter(ListGridField field) {
    String[] filters = {"A","B","C","D"};
    field.setValueMap(filters);
    field.setCanEdit(true);
    field.setCanFilter(true);
}

I get the drop down list on the field allowing me to select a value, but I cannot edit the value in the filter textbox which I need to be able to do so users can add things like '!' to the selected filter value or build their own filter. Filters which are not given pre-defined values can be edited.


Posts with incomplete information are much more likely to be ignored.

Viewing all articles
Browse latest Browse all 4756

Trending Articles