I have a problem with my datagrid dataprovider refresh. I have 2 Datagrids:
- 1Dg shows items, one column uses an ItemRenderer and displays a combobox. I need this combobox to change the status of my item.
- 2Dg shows some details of the selected item in 1Dg.
My problem is everytime I change the status of the item with my combobox the detail information in the 2 Dg stays the same. It just changes after a reload. Is there any better way how to refresh my dataprovider? (dataprovider.refresh() doesn´t work)
Jst check which property your binding with Status of 1st datagrid is [Binadable] or no, in object of 2nd dataGrid's dataProvider I think so.
just reassign 2Dg.dataProvider = detailsListCollection and the grid is updated, side effect: 2Dg will loose selection in case it was previously
Re-assignment can resolved this issue but in this case you have to maintained previous selection in two variables.