Announcement

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

    Need a way to set a Criteria in order to filter the filterbuilder fields

    Hi all,
    just wondering if there's a way to set a Criteria in order to filter the fields available for a FilterBuilder.
    I have a datasource that brings the fields for several projects, and I would like to show a filter builder for a given (current) project.
    Code:
    FilterBuilder builder = new FilterBuilder ();
    builder.setFieldDataSource (ds);
    //need something similar to the following pseudo-code
    //builder.setFieldDataSourceCriteria (new Criteria ("projectId", 12345));
    I took a look at Javadoc and SmartClient docs... did I miss something?

    Cheers
    Davide

    Using
    SmartGwt 3.0
    SmartClient Version: SC_SNAPSHOT-2011-12-05/LGPL Development Only (built 2011-12-05)
Working...
X