1. #1
    Ext User
    Join Date
    Sep 2008
    Vote Rating
    randomuser01 is on a distinguished road


    Default JSonStore: dynamic query not working

    I have a combo which is bound via XTemplate to xml data. The combo works fine, dynamically sending a new querystring to teh server as the user types in, and displays the filtered results. (commented out code).

    I'm trying to convert this combo's store to a JSonStore but am finding that the "query" querystring is not sent to the server, only the url is sent back.

    With the HttpProxy, _dc and query are additional parts of the querystring. Any ideas what I'm missing?

        var contractSearchDS = new Ext.data.Store( {
            proxy: new Ext.data.HttpProxy({
                url: '/CommandHandler.aspx?MessageType=GetReferenceData&type=FindContract',method: 'GET'
            reader: new Ext.data.XmlReader ({
                record: 'Contracts',
                id: 'Contract'
            }, [
        var contractSearchDS = new Ext.data.JsonStore({
            url: '/CommandHandler.aspx?MessageType=GetReferenceData&type=FindContract',
            root: 'rows',
            method: 'get',
            fields: [

  2. #2

Thread Participants: 1