Announcement

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

    FilterBuilder - setting a default value when the user selects a specific field

    Is there a way to have the filter builder automatically set a default value on a field? Let's say there are 3 fields on the datasource that drives the filter builder, field 1, field 2 and field 3. On the filter builder, the user has the option to select any of the 3 fields to enter a criteria value for. If the user selects field 3 from the dropdown, I want the field to have a default value of ABC.

    #2
    You can do this via dataSourceField.setFilterEditorType() and providing a defaultValue.

    Comment


      #3
      Thanks! It works with setEditorType (think you meant to type that).

      Comment

      Working...
      X