I have another question about this. How do I look at individual cell values in the grid?
Konstantin showed me how to set the datasource value and the grid value. I have to have 2 loops. One loop for datasource, and the other loop for HTML to set the dirty flag. But as I'm spinning through the grid, how do I look at the contents of another cell?
The command to update a cell in the datasource is this: items[i].set("SpringCost", $('#SpringCostInput').val()); I'm struggling how to evaluate the contents of another column. I tried items[I].getElementByID("SelectionField"), but that didn't work.
The command to update a cell in the HTML is: $(rows[i].cells).addClass("k-dirty-cell"); How would I look at the contents of a column called "SelectionField" in this loop?