afternoon all,
i have a problem with clearing element value, in this case is combogrid.
here is my code :
onBeginEdit:function(index,row){
if (state.row == 'new_row'){
var id_modul = $(this).treegrid('getEditor',{id:row.id_tree, field:'id_modul'});
$(id_modul.target).combogrid('clear');
console.log('opan');
}
},
as you can see, i already defined clear method for combogrid but the text still appear, or how to make combo element when his value is empty or null, the text element will empty too. because in my project some combo element won't clear his text when value is empty.
how to solve this issue?
many thanks for the answer.