Unbound Mode > Unbound Mode Programming Considerations > Refreshing the display in mode 2 |
In DataMode 2 - Unbound Extended, the grid's Refresh and ReBind methods work in the same manner as documented for bound mode. When these methods are called, the grid will discard its current display and call the UnboundReadDataEx event to retrieve new data.
Please note that during a ReBind operation, the grid attempts to maintain the current record position. Therefore, if the current record does not exist after the ReBind operation, it is up to you to position the grid to a valid record afterwards. Or, you can avoid potential problems by reinitializing the grid before performing the ReBind.