Announcement

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

  • edulid
    replied
    Yes, this is what I was trying to do. But not even the context menu "filter by..." was shown!!

    The problem was that the listGrid had .setAllowFilterExpressions(true) set. But is this correct ?? The docs say:
    Code:
    "Causes a menu item titled "Filter using" to appear in the headerContextMenu that allows the end user to pick an advanced search operator to use for this field."
    But this is not the case when.setAllowFilterEpressions(true) : so either this is a bug or the docs are not accurate.

    I have some other problems:
    1) The german translation for "is null" is COMPLETELY incorrect. It says "ist nicht leer", which is completely opposite, since "ist nicht leer" translates to "is not empty".
    You translated "is not null" to "ist nicht NULL", which is correct. So "is null" should be translated to "ist NULL", according to this.
    Please note that this is not a customization wish -> The translation is COMPLETELY WRONG.

    2) how to reset the filter operators?
    I am changing the criteria of a grid and it is still showing the filter operator chosen by the user previously. But this does not make sence in the new context. How to reset the filter editor completely, including the filter operators ?
    Last edited by edulid; 8 Apr 2016, 11:26.

    Leave a comment:


  • Isomorphic
    replied
    You've linked to a sample that is not a feature, but we're guessing you might mean the new allowFilterOperators feature.

    When the feature is enabled, if there are no AdvancedCriteria applied that use operators other than the default of "iContains", there initially will not be a visual change to the grid. You can tell the feature is active because the header contextMenu has a "Filter by.." submenu.

    Leave a comment:


  • edulid
    started a topic New filter components

    New filter components

    I am trying to show the new filter components in a listGrid but it is just not showing, although everything should be set. I only see the "old" filter.

    http://www.smartclient.com/smartgwt/...er_live_filter (this is what I am trying to do with my grid).

    While I am isolating my problem, it may be helpful if you have some idea why the new filter components may not be appearing.

    I will continue to isolate the problem but as I said maybe you have an idea.

    Using 6.0p 08.04.16 power
Working...
X