jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Dirty Flag in JqxGrid Dirty Flag in JqxGrid #57272

    yaohancz
    Participant

    I’ve tried to use that but the result is still the same.

    			$("#grid").bind('cellendedit', function (event) {
    				var args = event.args;
    				var columnDataField = args.datafield;
    				var rowIndex = args.rowindex;
    				var cellValue = args.value;
    				var oldValue = args.oldvalue;
    				$("#grid").jqxGrid('beginupdate');
    				$("#grid").jqxGrid('setcellvalue', rowIndex, '_isDirty', true);				
    				$("#grid").jqxGrid('endupdate');
    				$("#grid").jqxGrid('endcelledit', rowIndex, columnDataField, false);
    				$("#grid").jqxGrid('endcelledit', rowIndex, '_isDirty', false);
    			});

    it is stuck on the edited cell.

Viewing 1 post (of 1 total)