ComponentOne True DBGrid Pro 8
RefreshCol Method

 

RefreshCol Method

The RefreshCol method repaints the visible cells in the specified column.

Syntax

TDBGrid.RefreshCol [index]

Arguments

index is an optional variant that specifies the column to refresh. If not specified, the current column is assumed. If specified, it must be a valid column number or name.

Return Value

None

Remarks

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 column to be repainted and hence cause the appropriate events to fire.

Note

The RefreshCol method does not refetch data from a data source control or unbound events.

See Also

TDBGrid Control

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback