I am using a checkbox itemRenderer. Works great.
Now I am added a "select all' button. When clicked, it updates all records in the dataprovider.
Can't seem to refresh the screen with the currently visible checkboxes.
If i scrolldown, all the other checkboxes are selected due to the itemRenderer getting refreshed with the new records, which i get.
How do i get the itemRenderers to update for the visible records?
if your dataProvider is an ArrayCollection (myAC) just do a refresh after the update -> myAC.refresh() or myDataGrid.invalidateDisplayList()
I have been trying the "myDataGrid.invalidateDisplayList()", but that is not working.
I will try to convert my dataprovider to be an ArrayCollection and refresh() it.
What type is your DP ?