Hi,
I have a grid that allows for new rows to be inserted. I have logic in a client side JS event handle for editCellEnded that changes one of the cell values based on others. It works as expected for existing rows in the grid and successfully updates the cell. However, when I add a new row to the grid and edit one of the cells, I get an error when trying to update one of the cells using Javascript I can see the rowID is correctly set as well as the columnKey. Is there some restriction on doing this until the grid changes are persisted?
Javascript call in EditCellEnded handler that causes the issue.
//success - getting values out of the grid no problem - where Row id is variable holding the ID of the row
var N_Awarded = $("#Grid_101).igGrid("getCellValue", RowID, "N_Feasible");
//causes error
$("#Grid_101).igGridUpdating("setCellValue", RowID, "Cost_1", UpdatedCost);
Thanks in advance.
Thank you
192.168.l.l routerlogin 192.168.0.1
Hello Darryl,
I am glad that you find my suggestion helpful and were able to achieve your requirement.
Thank you for using Infragistics components.
Regards, Monika Kirkova, Infragistics