I’m using $(“#jqxdimensions”).jqxGrid(‘getrowdata’, row); to retrieve row data on `cellendedit` event. But eventually it returns “original” item.
items = ["C","A","B","D"];var a = $("#jqxgrid").jqxGrid('getrowdata', 0); // a == "C"//Sort. Grid displays "A","B","C","D"a = $("#jqxgrid").jqxGrid('getrowdata', 0); // a == "C"
Code snippet:
var column = args.datafield; var row = args.rowindex; var value = args.value; var oldvalue = args.oldvalue; // Selected value was modified if (column == 'Selected' && row > -1) { if (value == true && oldvalue == false) { var item = $("#jqxgrid").jqxGrid('getrowdata', row); ...
Am I doing something wrong?