首页 新闻 赞助 找找看

Extjs combox loadingText无效

0
悬赏园豆:15 [已关闭问题] 关闭于 2012-08-10 10:49
Ext.define("comboxDataModel", {
        extend: "Ext.data.Model",
        fields: ["UserName", "ID"]
    });
    var testStore = new Ext.data.JsonStore({
        storeId: "testStore",
        model: "comboxDataModel",
        proxy: {
            type: "ajax",
            url: "/StoreTest/FindAllUser",
            reader: {
                type: "json",
                root: "listRoot"
            }
        }

    });

    var textCombox = new Ext.form.field.ComboBox({
        id: "testCombox",
        name: "testCombox",
        fieldLabel: "测试",
        store: testStore,
        valueField: "ID",
        displayField: "UserName",
        loadingText: "加载中...",
        listConfig: {
            loadingText: "loading..."
        },
        queryMode: "remote",
        renderTo: "test",
        listeners: {
            expand: function () {
                alert(123);
            }
        }

    });

不知道为什么,就是不显示“loading”

菜鸟吃虫,虫吃菜的主页 菜鸟吃虫,虫吃菜 | 初学一级 | 园豆:34
提问于:2012-08-07 14:09
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册