获取表单中checkboxgroup所有选中值
var fxpgForm = tabpanel.getItem("fxpgTabId");
try{
var tableArr = [];
var groups = fxpgForm.findByType('checkboxgroup');
var chks = null;
var gLength = 0;
gLength = groups.length;
for (var i = 0; i < gLength; i++) {
chks = groups[i].items;
chks.each(function(f){
if(f.checked){
tableArr.push(f.inputValue);
}
}, this)
}
fxpgdata = tableArr.toString();
}catch (ex){
alert(ex);
}