I can't seem to figure out how to get the value of a specific cell by the column name.... I'm trying to populate a new grid row with some default data that the user entered from the previous row. The function below would work (not done but it get's me the cell value) however, if I am getting the cell's value based on it's index in the row and the user re-arranges the rows in the grid by dragging and dropping it changes the index value of the cell i want to use. Thus, I need to use the column name.
Any help is appreciated!
{
var lastRow = grid.Rows.getRow(grid.Rows.length - 1);
}
Off the row object is a getCellByColumn() method, which passes in a column object, and a getCellByKey which passes the columns key string
WebGrid CSOM Rows Object