[Flashcoders] redraw/update DataGrid to reflect change of data?

2006-02-16 Thread Chuck Hoffman
I'd like to get a DataGrid (or better yet, one of its columns) to redraw itself, so as to reflect a change made to item(s) in its dataProvider. Specifically, I have a field called 'select', and for its column in the DataGrid I use a CellRenderer containing a CheckBox, which responds to clicks

Re: [Flashcoders] redraw/update DataGrid to reflect change of data?

2006-02-16 Thread Grant Cox
If all you want is for the datagrid to refresh from the data already in it's dataProvider (ie, each grid row updates to what you want when you rollover), then try: var current_vpos = myGrid.vPosition; myGrid.dataProvider = myGrid.dataProvider; myGrid.vPosition = current_vpos; Regards, Grant