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
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
2 matches
Mail list logo