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

EXT check 问题
请问CheckboxSelectionModel() 全选后撤销全选不好使,获取选中的行有问题,请帮忙看看,谢谢!

JScript code


        Ext.onReady(function() {
                    Ext.QuickTips.init();
                    Ext.form.Field.prototype.msgTarget = 'side';
                    var itemArray = [];
                    var userForm_userBO = new Ext.form.FormPanel({
                        id : 'userForm',
                        name : 'userForm-userBO',
                        frame : true,
                        style : 'margin-left:1px;margin-top:1px;',
                        title : '用户管理',
                        labelAlign : 'right',
                        labelWidth : 80,
                        layout : 'tableform',
                        url : '/qeweb/login/coarsegrainedSubmitAC.action',
                        method : 'post',
                        layoutConfig : {
                            columns : 3
                        },
                        style : 'margin-left:3px;margin-top:10px;',
                        items : [ {
                            colspan : 1,
                            rowspan : 1,
                            anchor : '98%',
                            fieldLabel : '用户名称',
                            allowBlank : true,
                            blankText : '必填项',
                            viewlabel : '用户名称',
                            id : 'userForm-userBO-userName',
                            name : 'userForm-userBO-userName',
                            xtype : 'textfield',
                            vtype : 'bopRange',
                            disabled : false,
                            readOnly : false,
                            hidden : false
                        }, {
                            colspan : 1,
                            rowspan : 1,
                            anchor : '98%',
                            fieldLabel : '用户编码',
                            allowBlank : true,
                            blankText : '必填项',
                            viewlabel : '用户编码',
                            id : 'userForm-userBO-userCode',
                            name : 'userForm-userBO-userCode',
                            xtype : 'textfield',
                            vtype : 'bopRange',
                            disabled : false,
                            readOnly : false,
                            hidden : false
                        }, {
                            colspan : 1,
                            rowspan : 1,
                            anchor : '98%',
                            fieldLabel : '用户拼音',
                            allowBlank : true,
                            blankText : '必填项',
                            viewlabel : '用户拼音',
                            id : 'userForm-userBO-userPyCode',
                            name : 'userForm-userBO-userPyCode',
                            xtype : 'textfield',
                            vtype : 'bopRange',
                            disabled : false,
                            readOnly : false,
                            hidden : false
                        }, {
                            colspan : 1,
                            rowspan : 1,
                            anchor : '98%',
                            fieldLabel : '英文名',
                            allowBlank : true,
                            blankText : '必填项',
                            viewlabel : '英文名',
                            id : 'userForm-userBO-userNameEn',
                            name : 'userForm-userBO-userNameEn',
                            xtype : 'textfield',
                            vtype : 'bopRange',
                            disabled : false,
                            readOnly : false,
                            hidden : false
                        }, {