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