Announcement

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

    Listgrid preserves the intial criteria

    We are loading records in listgrid using fetchData() API and passing criteria object to the method after creating the object of a listgrid.

    Once the data is loaded based on the criteria, if we search the data using filter editor, the original criteria is also added to the new criteria.

    This was not happening 7.0 and we see this issue with Smartclient 8.1

    Let us know how to fix this issue.

    SmartClient Version: 8.1/Enterprise Development Only (built 2011-08-02)

    #2
    This is by design. Are you saying you have an interface where, when the user types in the filter editor, the initial criteria are intentionally dropped? If you want to do this, you could achieve it by overriding filterEditorSubmit to wipe out the criteria before proceeding, but the resulting end user UI seems bizarre.

    Comment

    Working...
    X