Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to filter a PickTreeItem

    Version: SmartClient Version: v8.3p_2012-11-23/Pro Deployment (built 2012-11-23)

    I would like to filter the items in my PickTreeItem, what methode is there that I can use?

    Something similar as the PickListFilterCriteria on normal select items would be great.

    Code:
    IPickTreeItem accountSelection = new IPickTreeItem() {  
                @Override  
                protected Criteria getPickListFilterCriteria() {  
                    String category = (String) categoryItem.getValue();  
                    Criteria criteria = new Criteria("category", category);  
                    return criteria;  
                }  
            };
Working...
X