ControlContext :: refresh - Refresh data displayed in control
The function can be used in order to explicitly refresh data displayed in a control after it has been changed. Usually, all changes in data are registered and reflected in the control. In some cases (e.g. when blocking data events by calling ObjectSpace::eventHandling(false)) it might, however, better to refill the control explicitly after data has been changed by the context.
refresh() does not optimize refilling data, i.e. the control will be filled independent on any modification state of the collection or instance. This may become a bit slow. In order to refill data only in case of changes use fill() instead.