Field declaration for combogrid may be written as follows:
{field:'secode2',title:'Section',width:100,align:'left',
editor:{
type:'combogrid',
options:{
idField: 'secode2', textField: 'section',
url: 'getSection.php',
mode: 'remote',
fitColumns:true,
columns: [[
{field:'secode2',title:'SeCode',width:60,align:'right'},
{field:'secode',width:0,hidden:true},
{field:'section2',width:0, hidden:true},
{field:'section',title:'Section',width:260},
{field:'deptname',title:'Department',width:200}
]],
panelHeight:135
}
}
}