I can not find explaining in the documentation, what the formatter function is doing in this combobox ?
<th data-options="field:'work_group_id',width:10,
formatter:function(value,row){
return row.work_group;
},
editor:{
type:'combobox',
options:{
valueField:'work_group_id',
textField:'work_group',
method:'get',
url:'pages/work_groups.php',
required:true
}
}">Groups</th>
</tr>