CExtGridWnd::GridColumnDefaultValueBind

Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Binds or unbinds the default cell value to a column or to all columns in the grid control. The default value is the grid cell object used for the automatic initialization of cells.

bool GridColumnDefaultValueBind(
   LONG nColNo = -1L,
   INT nColType = 0,
   CExtGridCell * pCell = NULL
);

Parameters

nColNo
Column index; if a negative value is specified, the method will bind the default value to all columns.
nColType
Type of the column (0 - inner column, -1 - outer column on left, 1 - outer column on right).
pCell
Specifies the default cell object. Set pCell to NULL, you want to unbind the default value from the column(s).

See Also

CExtGridWnd Overview | Class Members | Hierarchy Chart