StyleGrid REALbasic Plugin |

# StyleGridRow.RecreateCell Method

Use this method to recreate a cell with different cell type.

RecreateCell(
x as Integer,
cellFactoryID as Integer) as StyleGridCell

#### Parameters

x
  The column number of the cell.
cellFactoryID
  The new type of cell. (See constants bellow).

#### Returns

StyleGridCell
  Returns the recreated cell.

#### 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: PopupMenu
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

#### See Also

StyleGridRow Class