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

FilterEditor stops working after fetch with Criteria on TreeGrid

$
0
0
SmartClient Version: v9.1p_2015-01-02/PowerEdition Deployment (built 2015-01-02)
FireFox ESR 24.3.0


I have TreeGrid with data provided by local datasource. Everything works fine (filters, sorting etc.) when I fetch data without criteria.
Code:

getView().getCaseTagsLayout().getTagListGrid().fetchData();  // works fine
But when I fetch with Criteria FilterEditor stops working
Code:

getView().getCaseTagsLayout().getTagListGrid().fetchData(criteria); //
When I type something in FilterEditor and press Enter, data inside TreeGrid isn't filtered and also text I filled in FilterEditor is cleared.
Criterias :
Code:

{operator=and, criteria=[{fieldName=scope_type, operator=equals, value=CASE}], _constructor=AdvancedCriteria}  // criteria provided in fetch method
{operator=and, criteria=[{fieldName=scope_type, operator=equals, value=CASE, _constructor=AdvancedCriteria}, {fieldName=description, operator=iEquals, value=qqq}], _constructor=AdvancedCriteria} // filter from FilterEditor

What cause this problem? DataSource is set clientOnly and everything else seems to be ok.

Viewing all articles
Browse latest Browse all 4756

Trending Articles