hello again,
now i have a problem with get the editor on datagrid. when datagrid row is empty, the result when i try to get the editor for specific field always null. here my code:
onBeforeEdit: function(rowIndex, rowData){
rowData.editing = true;
updateActions(rowIndex, $list_data);
loadLinkbutton(this);
state.op = "edit";
var editor = $(this).datagrid('getEditor',{index:rowIndex,field:'shipper_address_det'});
console.log(editor); // ==> this value always null;
console.log(rowIndex);
//alert('op');
},
i already read the document. but i think i do what exactly document said. where is the problem in my code?
thanks for helping