what is the recomanded way to do the following.
On the gridview, when the user edits a cell value, I want to do some computations and assign a new data source to the gridview. I have tried to call refresh on the cell value changed, but that seams to cause a crash.
So I have a hirachy of objects.
Parent
|- Child One
| -> Child Two
During the computation I am getting a new set of Child One objects. With this I mean new instances, which I want to rebind to the grid to show the effect of the edit. It seams that this is not accepted. I can understand that the grid might not expect it's datasource to have change on an cell value changed event, but how can I refresh assign a new data source to grid after an edit and show the changes back to the user ?
On the gridview, when the user edits a cell value, I want to do some computations and assign a new data source to the gridview. I have tried to call refresh on the cell value changed, but that seams to cause a crash.
So I have a hirachy of objects.
Parent
|- Child One
| -> Child Two
During the computation I am getting a new set of Child One objects. With this I mean new instances, which I want to rebind to the grid to show the effect of the edit. It seams that this is not accepted. I can understand that the grid might not expect it's datasource to have change on an cell value changed event, but how can I refresh assign a new data source to grid after an edit and show the changes back to the user ?