当前位置: 代码迷 >> JavaScript >> extjs4.0 多条件检索
  详细解决方案

extjs4.0 多条件检索

热度:1206   发布时间:2013-02-26 00:00:00.0
求助extjs4.0 多条件检索
目前在用extjs4做一个会议信息管理系统,以前没接触过ext,有点迷茫。
多条件检索功能哪位大侠能分享下代码吗?
ext菜鸟求助啊   

------解决方案--------------------------------------------------------

 var _store = applyUserGrid.getStore();//拿到你要加载的数据

                            _store.on('beforeload', function (s) {//绑定事件
                                s.baseParams = {//带上你的条件
                                    start: 0,
                                    limit: 30,
                                    activeId: _activeId,
                                    beginDate: _beginDate,
                                    endDate: _endDate,
                                    flag: _flag,
                                    ticketType: _ticketType
                                };
                            });

------解决方案--------------------------------------------------------
var form=Ext.create("Ext.form.Panel",{/*..配置..*/});
        Ext.apply(this,{
            id: 'content_panel',
            region: 'center', 
            defaults: {
               autoScroll:true,
               bodyPadding: 10
            },
            activeTab: 0,
            border: false,
           //plain: true,