$(function() {
...
...
refresh: function () { //조회
$("#grid_editing").find("button.search_btn").button({ icons: { primary: 'ui-icon-search'} })
.unbind("click")
.bind("click", function (evt) {
var $tr = $(this).closest("tr");
var obj = $grid.pqGrid("getRowIndx", { $tr: $tr });
var rowIndx = obj.rowIndx;
selectRow = rowIndx;
var url = "/service/simpleCommand/?mnuGrpID="+$("#mnuGrpID").val()+"&pgmID="+$("#pgmID").val()+
"&viewID=EXM01001C&finalAction=getDivison";
newModalDialog(url, "EXM01001C", 650,600,"yes"); });
...
..
});
function getDivison(data){
var rowData = $("div#grid_editing").pqGrid("getRowData", { rowIndx: selectRow });
rowData['division'] = data.division;
rowData['projectName'] = data.projectName;
$("div#grid_editing").pqGrid("refreshCell", { rowIndx: selectRow, dataIndx: 'division' });
$("div#grid_editing").pqGrid("refreshCell", { rowIndx: selectRow, dataIndx: 'projectName' });
}
my question is the change row not in the change list
var changes = $grid.pqGrid("getChanges", { format: "byVal" }),
addList = changes.addList,
updateList = changes.updateList,
deleteList = changes.deleteList;