Announcement

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

    Is there a way have a column conditionally available in filter builder

    SmartClient version v10.1p_2016-11-11/PowerEdition deployment ( built 2016-11-11)

    I'm making extensive use of the filterBuilder and have a need to allow/disallow filtering on a given column. That is, sometime I want a certain column to show up in the filter builder, other times I don't. Is there a way to do this ?

    Thanks

    #2
    The fields in a FilterBuilder are determined by the DataSource you provide it, so you can provide a DataSource that doesn't have a given field you want to suppress. Remember DataSources can inherit from each other (see DataSource.inheritsFrom) so this won't require re-declaring all of the other fields.

    Comment

    Working...
    X