Hello
I use combogrid as editor field in edatagrid. When you finish editing I want to set additional field values row.
However, the first call onEndEdit the variable r is null. Once I select the same option again, variable r is good.
onEndEdit: function(index,row){
var ed = $(this).edatagrid('getEditor',{index:index,field:'Kod'});
var cc = $(ed.target);
var g = cc.combogrid('grid'); // get datagrid object
var r = g.datagrid('getSelected'); // get the selected row
$.extend(row, {
Kod: r.Kod,
Naz: r.Naz
});
}
I do not understand why this is happening
thanks for the help.