Announcement

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

    ListGrid w/ GwtRpcDataSource w/ Filter w/ NEXT

    SmartGWT-2.4

    my ListGrid has a GwtRpcDataSource

    i have controlstrip buttons to refresh, next, previous, etc. They all call ListGrid.fetchData( criteria, callback, requestProperties ), with the named action in requestProperties. The GwtRpcDataSource.executeFetch detects which action to make the appropriate RPC call.

    Enter ListGrid.showFilterEditor=TRUE and ListGrid.filterEditorSubmitHandler

    filterEditorSubmitHandler also calls ListGrid.fetchData with named action in requestProperties

    The initial fetch on the filter row is fine. But when I try to do a "next", everything fires except the redraw of the listgrid (gets stuck loading data -- can't tell exactly what it's waiting for).

    HELP!

    #2
    Nevermind, I solved it by making the ListGrid.onFilterEditorSubmit cancel the event

    Comment

    Working...
    X