Phil_NZ
07-15-2005, 04:41 AM
Hi team,
This should be a really simple one but I can't solve it. Maybe you can help.
I have a Datagrid, bound to a Dataset. The DataGrid populates fine when the DataSet is filled.
Now, I manually change data in the DataSet, and call applyUpdates to update the grid:
dataSet.items[0].value = newValue;
dataSet.applyUpdates();
My understanding of the DataSet.applyUpdates() method is that it then sends a call to bound components... so I shouldn't need to manually add a listener.
Needless to say, it doesn't work. My DataGrid remains the same, until I sort the columns - then the new data is displayed when the grid redraws.
What am I missing here? Or is there a simple method of DataGrid that I can use to get it to redraw via AS? I don't see one in the documentiation...
:confused:
Thanks in advance,
Phil
This should be a really simple one but I can't solve it. Maybe you can help.
I have a Datagrid, bound to a Dataset. The DataGrid populates fine when the DataSet is filled.
Now, I manually change data in the DataSet, and call applyUpdates to update the grid:
dataSet.items[0].value = newValue;
dataSet.applyUpdates();
My understanding of the DataSet.applyUpdates() method is that it then sends a call to bound components... so I shouldn't need to manually add a listener.
Needless to say, it doesn't work. My DataGrid remains the same, until I sort the columns - then the new data is displayed when the grid redraws.
What am I missing here? Or is there a simple method of DataGrid that I can use to get it to redraw via AS? I don't see one in the documentiation...
:confused:
Thanks in advance,
Phil