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

Does TreeGrid.setCriteria() support advanced criteria?

$
0
0
Does TreeGrid.setCriteria() support advanced criteria? I have tried modifying example

http://smartclient.com/#_Trees_Filtering

and replace simple criteria
Code:

{EmployeeType: 'full time'}
with
Code:

{'_constructor': 'AdvancedCriteria', 'operator': 'and', 'criteria': [
        {'operator': 'iContains', 'fieldName': 'EmployeeType', 'value': 'full time'}
]}

However the TreeGrid seems to ignore it (does not apply at all).

If advanced criteria is not supported, is there a way to specify "contains" match type for simple criteria?
Thank you.

Viewing all articles
Browse latest Browse all 4756

Trending Articles