[]
        
(Showing Draft Content)

C1.Win.TrueDBGrid.C1TrueDBGrid.RefreshCol

RefreshCol Method

RefreshCol()

Invalidates the current column.

Declaration
public void RefreshCol()
Remarks

The RefreshCol method causes a repaint of the entire column in the grid. Normally, the grid repaints automatically as needed. However, if handlers have been written for the OwnerDrawCell event, use this method to force a column to be repainted and hence cause the appropriate events to fire.

RefreshCol(int)

Invalidates the specified column.

Declaration
public void RefreshCol(int col)
Parameters
Type Name Description
int col

The split column index to repaint.

Remarks

The RefreshCol method causes a repaint of the entire column in the grid. Normally, the grid repaints automatically as needed. However, if handlers have been written for the OwnerDrawCell event, use this method to force a column to be repainted and hence cause the appropriate events to fire.