I loop trough datagrid and need to read values from combobox field = TAGESKENNUNG with typeid and typename in editor defined. But all I get is the value which is contained in the rows object itself, but how to access typeid and typename for a row?
rows = $('#dg').datagrid('getRows');
for(var i=0; i<rows.length; i++)
{
// works fine
$('#dg').datagrid('getRows').TAGESKENNUNG;
// any of below 2 lines DOES NOT WORK
var editors = $('#dg').datagrid('getEditors', i);
var ed = $('#dg').datagrid('getEditor', {index: i, field:'TAGESKENNUNG'});
// actually I need to access and maybe write back later the two fields typeid and typename of TAGESKENNUNG
}
PLEASE PLEASE HELP and THANK YOU a lot in advance!
EasyUI