Announcement

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

    how to stop a fetch

    Hello,

    I am using a list grid and tree control which works great. However, I am also using a textitem where one is typing some stuff and then fetching data. I can start a fetch after a delay with a timer, but if the user continues to type I would like to stop the outstanding fetches on my listgrid (or treegrid).

    I don't see a .stopFetch option on listgrid or treegrid.

    How would I go about this?

    Thanks,
    Evan

    #2
    If you're thinking of stopping a fetch for performance reasons, this won't really work in a web application. Basically, even if the client drops the connection, the server won't discover this until it tries to write data (at the end of processing).

    If you have some other reason to try to cancel it, you can use RPCManager.cancelTransaction().

    Comment

    Working...
    X