I want to update the current selected row with the following function:
...
change: function (event, x) {
var userInput = Data.areas[0].label;
var currentRow = ui.rowIndx;
console.log(currentRow);
$grid.pqGrid("updateRow", { rowIndx: currentRow, row: { 'Area': userInput } });
$grid.pqGrid("refreshRow", { rowIndx: currentRow });
}
...
console.log gives me the correct row number, but the function doesn't work. How to solve this?