Announcement

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

    Listgrid filter - Dropdown and editable mutual exclusion

    When using a Listrgid and setting setShowFilterEditor(true), enables filtering on the grid by entering values in edit fields on top of the header of the table.
    When setting a setValuemap on Datasourcefields enables dropdowns with selectable values of the grid per column

    As soon as the ValueMap is set, the field is not editable anymore. Why is this?

    #2
    You describe the drop-downs appearing as expected, so that sounds like the filter value is in fact editable.

    Perhaps you meant that you cannot type in arbitrary values? If so, you can set ListGridField.filterEditorType to configure whether you want a TextItem, ComboBoxItem or other filtering interface.

    Comment


      #3
      than you for the reply.
      What i mean is like in the example of the showcase: https://www.smartclient.com/smartgwt...tfilter_filter.
      The column continent shows a dropdown, but you can not enter text, like you can do on the columns code, country and capital.

      Comment


        #4
        Setting field.setFilterEditorProperties(new ComboBoxItem());
        is making an editable field with a combobox.
        Thnx

        Comment

        Working...
        X