Ive got a DataGrid into which I load a xml-file using an XMLConnector and a DataSet, and it works fine.
Now, I need to use the “editField”-function of the DataGrid to change the content of individual cells. This also works fine.
However, I need to store the previous value stored inside the cell before changing it. The “editField”-function is supposed to return just that value, like this:
var prevValue = myDataGrid.editField(1, "columnName", "myValue");
Well, heres the problem, it doesnt return anything, and the “prevValue” is undefined. Its like the cell is registered as empty/undefined, but still displays text…??