DataGrid REALbasic Plugin

DataGridColumn.CellFactoryID Property

This can be used to control how new cells in the given column will be born.

CellFactoryID as Integer {Read and Write}

Remarks

The possible cell factory constants are:
0: Normal Cell created with the attributes on the Grid's DefaultCell.
1: ExtendedCell created with most of the attributes of the Grid's DefaultCell.
2: ProgressBarCell
3: CheckBoxCell
4: SmallCheckBoxCell
5: SmallCheckBoxCell


If you have TypeLib and REALbasic 5.5 or later then the constants above have the same values as the following REALbasic constants:

CellFactoryType.Normal
CellFactoryType.Extended
CellFactoryType.ProgressBar
CellFactoryType.CheckBox
CellFactoryType.SmallCheckBox
CellFactoryType.PopUpMenu


Notes:
This has no effect on existing cells, it will only control the birth of new cells in the given column.

See also CellFactoryType constants.

See Also

DataGridColumn Class