Spread Windows Forms 8.0 Product Documentation > Developer's Guide > Customizing Interaction with Cell Types > Understanding How Cell Types Work > Understanding How Cell Type Affects Model Data |
The cell type affects how the values are stored in the model.
The following table lists the editable cell types and the data type of the value in the cell that is written to the data model.
Editable Cell Type | Data Type Written to Model |
---|---|
Decimal |
|
Date-Time Object |
|
Depends whether Date-Time, Boolean, or String |
|
String |
|
Double |
|
Double |
|
String |
|
String |
The following table lists the graphical cell types and the data type of the value in the cell that is written to the data model.
Graphical Cell Type | Data Type Written to Model |
---|---|
Value of barcode |
|
ButtonCellType two-state |
Integer |
ButtonCellType one-state |
Null |
CheckBoxCellType three-state |
Integer (0 = false, 1= true, 2 = indeterminate) |
CheckBoxCellType two-state |
Boolean |
ColorPickerCellType | |
Depends on value of EditorValue property. String, if EditorValue = String or item data, Integer, if EditorValue = index |
|
Array of Boolean values (whether each link is clicked or not) |
|
Null |
|
Array |
|
Depends on value of EditorValue property. String, if EditorValue = String or item data, Integer, if EditorValue = index |
|
Double |
|
String |
|
Integer |