Announcement

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

    Listgrid Date filter on upgrade from 7 to 8

    I recently upgraded from Smartclient 7 to Smartclient 8. The Listgrid filter on date field works well in 7. However in 8, the basic filter doesnt work, and gives an error "The AdvancedCriteria (SQL) feature is only available with the Power and Enterprise Editions, and you have the Pro Editions. " The same feature was working well in Pro of version 7. How can I get the basic filter to run on a date field.

    Note: this also messes up the filter on other fields of the same listgrid.

    thanks,
    ~S

    #2
    The default filterEditorType for a "date" field was switched to use RelativeDateItems, which necessarily generate AdvancedCriteria. To switch back to what you had in 7.0 Pro, set the filterEditorType for your "date" fields to DateItem instead.

    Comment


      #3
      Update: We have just made a change to modify the default behavior to detect whether the DataSource the grid is bound to can support AdvancedCriteria and only make use of the DateRangeItem if support for AdvancedCriteria is in place. If AdvancedCriteria are not supported we'll back off to a simple DateItem automatically.

      This change will be present in the next nightly build.

      Comment

      Working...
      X