cancel loadxml..

hi,



i just would like to ask if there is a way of cancelling or stopping a loadxml in process…for example when a button is pushed the loadxml will execute…while loading is happening the button is then pushed again…on the second event what i want to do actually is not only execute loadxml, but also stop any running loadxml calls…



thanks in advance…

You can get xmlHttpRequest object used by grid as
    mygrid.xmlLoader.xmlDoc

and use its native API, to stop data fetching

    mygrid.xmlLoader.xmlDoc.abort();