Object Reference > True DBGrid Methods > RefreshCell Method |
RefreshCell Method
The RefreshCell method repaints the specified cell. Normally, the grid repaints automatically as needed.
column.RefreshCell [bookmark]
Arguments
bookmark is an optional variant that specifies the row containing the cell to refresh. If not specified, the current row is assumed. If specified, it must be a valid bookmark.
Return Value
None
However, if you have written handlers for the Paint or OwnerDrawCell events, you can use this method to force a cell to be repainted and hence cause the appropriate events to fire.
Note
The RefreshCell method does not refetch data from a data source control or unbound events.