extjs4.1 刚入坑不就。。。求大牛指导下。。。在线等,谢谢

 header :"<input type=radio  onmouseup=\"mainForm.callFn("+_this.formId+",'allCheck',this.value)\"  name=TestRadioGroup value=2  /> 接受<input type=radio onmouseup=\"mainForm.callFn("+_this.formId+",'allCheck',this.value)\" name=TestRadioGroup value=1 />不接受",
                dataIndex : 'is_conf_flag',
                width : 120,
//              text : '供应商确认',
                renderer : function(val, cellmeta, record, rowIndex) {
                            return '<label>'
                                    + '<input type="radio" name="RadioGroup'
                                    + rowIndex
                                    + '" value="2" '
                                    + (val == '2' ? 'checked' : '')
                                    + ' '
                                    + ' onclick="mainForm.callFn('
                                    + _this.formId
                                    + ','
                                    + '\'onClick\''
                                    + ','
                                    + rowIndex
                                    + ','
                                    + '\'2\''
                                    + ')"'
                                    + ' />'
                                    + '</label>'
                                    + '<label><span>接受</span>'
                                    + '<input type="radio" name="RadioGroup'
                                    + rowIndex
                                    + '" value=\"1\"  '
                                    + (val == '1' ? 'checked' : '')
                                    + ' '
                                    + ' onclick="mainForm.callFn('
                                    + _this.formId
                                    + ','
                                    + '\'onClick\''
                                    + ','
                                    + rowIndex
                                    + ','
                                    + '\'1\''
                                    + ')"'
                                    + '/>'
                                    + ' <span>不接受</span></label>';

}

这下面是代码效果
图片说明

我的问题是,怎么做才能在,点击标题上面的接受/不接受,下面的数据就全部选择接受/不接受。。。。。求解

貌似你用的是单选框,这是复选框的事,可以写一个脚本判断状态,然后显示