如下,可以根据自己的需要修改
docKindActivity.grdDEMO_DocKind_chRender = function(event) {
var id = event.rowId;
var data = justep.xbl("dataDEMO_DocKind");
var count = data.getCount();
// alert(count);
for ( var i = 0; i < count; i++) {
var html = "<input type=\"radio\" name=\""
+ id
+ "\" id=\""
+ id
+ "\" value=\"1\" \">a<input type=\"radio\" name=\""
+ id + "\" id=\"" + id + "\" value=\"2\" \">b";
return html;
}