I am using knockout to bind data to a grid. If I click on a checkbox and move to another cell the value is getting committed. If I click the checkbox then click on a save button the value is not getting committed and when i call the commit method on the grid the value of the checkbox reverts back to its original state
That was it! Thank you for the super quick repsonse!
Currently I have the data bound to a table via knockout.
<table id="myGrid" data-bind="igGrid: {
.....
dataSource: data,
autoCommit: false,
renderCheckboxes: true,
}"></table>
Before I post the changes to the server I make sure to call an endEdit and commit the values. Make sure to pass in true as the second argument for endEdit so the values update.
$('#myGrid').igGridUpdating('endEdit', true);
$("#myGrid").igGrid("commit");
Would you mind posting the solution to this? We are going to try the "endEdit" but want to make sure we have all the pieces of the puzzle since we are having the same issue.
Hello,
I have opened a new private support CAS-120382-M3Y9S1 for you. I will provide more details on the support case CAS-120382-M3Y9S1.
I hope this helps.
I was able to see this behavior in the attached sample. I am looking in to the case of this behavior. Meanwhile you can test the attached sample to confirm if the sample demonstrates behavior you described. I will update you further by the end of the day Monday with more details on this.