Object Reference > True DBGrid Methods > Refetch Method |
Refetch Method
The Refetch method repopulates the cells of the specified column from a data source control and/or unbound events.
column.Refetch
Arguments
None
Return Value
None
It also repaints the column's visible cells, firing all events necessary for redisplay.
By default, the grid retrieves data automatically as needed. It fetches rows in blocks of ten, and only gathers data for visible columns. However, in some cases, you can improve performance by fetching only the data for a single (changed) column. The Refetch method is provided for this purpose.
Note
The Refetch method does not force the data source control to refresh its own data from the underlying database. You must use data control methods or options to accomplish this.