我在同一列中获取字段我该怎么办?
colNames:['Id', 'Name', 'Father Name','DOB', 'Address', '', '', '', 'Bank Name',
'Bank IFSC', 'Bank A/C No.', 'Bank Type', 'Mobile', 'Email']
{name:'address_line1', index:'address_line1', sorttype: 'text', editable: true,width:200,
formatter:function (cellvalue, options, rowObject) {
addPart1 = rowObject[0];
addPart2 = rowObject[1];
addPart3 = rowObject[2];
fullAddress = addPart1 + addPart2 + addPart3;
return fullAddress;
},
sortable:false,sorttype:'text'
},
{name:'address_line_2',index:'address_line_2',sortable:false,sorttype:'text',hidden:true},
{name:'city',index:'city',sortable:false,sorttype:'text',hidden:true},
{name:'pincode',index:'address_line2',width:80,sortable:false,sorttype:'text'},