Announcement

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

    Expression filter doesn't work with combobox filter item

    We are testing the “Expression Filter” functionality in our application.
    It seems work well , except when we try to add an expression filter in the “Combo Box Item” filter editor type.

    In this case the filter works only for the first time.
    Then the entire table filters stops work.

    This is one of the incriminated table filed:

    Code:
    <field title="Name" name="Name" type="text" editorType="ComboBoxItem" length="255" width="100%" align="left" cellAlign="left" detail="false" canEdit="false"></field>
    And this are the table properties:

    Code:
    grid.setWidth("100%");
    grid.setHeight("90%");
    grid.setShowFilterEditor(true);
    grid.setFilterOnKeypress(false);
    grid.setCanEdit(false);
    grid.setAutoFetchData(false);
    grid.setDataSource(stats);
    Have you got any suggestion?

    #2
    Disable the use of the ComboBoxItem for the flterEditor for the grid where you're using allowExpressions. It's not a good interface because if the user is typing something like <50 the ComboBoxItem is going to (correctly) start trying to fetch records that start with "<".

    Comment


      #3
      We haven' t the possibility to disable the use of the ComCoboxItem in the filter editor.

      Is there the possibility of disable the "Expression Filter" functionality only for a specific ListGridField?

      If not are you going to implement it?

      Comment


        #4
        You can disable the CombozboxItem by setting a different filterEditorType.

        Comment

        Working...
        X