[CLOSED] Store proxy events

  1. #1

    [CLOSED] Store proxy events

    Hi there,

    Is there any listeners to capture before request and request callback of store proxy?

    Thanks in advance.
    Last edited by Daniil; Oct 03, 2014 at 1:43 PM. Reason: [CLOSED]
  2. #2
    Hi @thchuong,

    There are BeforeLoad, BeforeSync, Load and Sync events on the Store. It fires before and after load and sync requests. Is it what you are looking for?
  3. #3
    Hi Daniil,

    I did try all of them but

    1. Sync and BeforeSync are not fired.
    2. Load and BeforeLoad are always called whenever the page changed.

    P/S: local paging

    I just want to capture at before ajax request and request callback.

    How can I do that?

  4. #4

    If you use an AjaxProxy, I can suggest this:
        doRequest: function() {
            alert("Before Request");
        afterRequest: function(request, success) {
            alert("After Request");

Similar Threads

  1. Replies: 3
    Last Post: May 06, 2013, 11:52 AM
  2. store proxy help
    By John_Writers in forum 2.x Help
    Replies: 1
    Last Post: Apr 19, 2013, 3:11 PM
  3. store's Reader is used if proxy is undefined
    By yash.kapoor in forum 2.x Help
    Replies: 14
    Last Post: Oct 26, 2012, 3:46 AM
  4. Replies: 9
    Last Post: Oct 16, 2012, 12:05 AM
  5. Multicombo store proxy
    By David Pelaez in forum 1.x Help
    Replies: 1
    Last Post: Feb 08, 2011, 1:27 PM

Tags for this Thread

Posting Permissions