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

Enhancement: New example in Client showcase, showing the use of CriteriaEditing

$
0
0
Hi Isomorphic,

I'm stuck a bit at CriteriaEditing (http://www.smartclient.com/smartgwte...iaEditing.html). What I want to do is a simple use case:
1) ListGrid with 3 String columns
2) Filter on all columns, 1st is SelectItem (see below), 2nd&3rd Textbox (iEquals)
3) The SelectItem aggregates (startingletter a...f, g...z) (effectively requiring an OR-AdvancedCriteria)
4) Filter should work on single columns and if filtering on many columns.

The solution should require the use of
setCanEditCriterionPredicate(new FormItemCanEditCriterionPredicate() {...};
setCriterionSetter(new FormItemCriterionSetter() {...};
setCriterionGetter(new FormItemCriterionGetter() {...};
as there is no example to far and the forums give not enough results for me to get my example working (I get to many calls to the registered functions with parameters that don't make sense for me).

Thank you & best regards,
Blama

Viewing all articles
Browse latest Browse all 4756

Trending Articles