日期:2014-05-16  浏览次数:20422 次

求助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,
     &nbs