Spread for ASP.NET 8.0 Product Documentation > Developer's Guide > Customizing with Cell Types > Understanding How Cell Types Work > Understanding How Cell Type Affects Model Data |
The cell type has two methods that control how data is displayed from the data model and how data is written to the data model. The formatter method takes the data from the data model and formats it for display. The parser method writes the data to the data model. Different cell types write different types of data to the data model.
The following table lists the editable cell types, and how each cell type works with the model.
Editable Cell Type | Data Type Written to Model |
---|---|
Decimal |
|
Date-Time Object |
|
Double | |
Depends whether Date-Time, Boolean, or String |
|
Integer |
|
String |
|
String |
|
String |
The following table lists the graphical cell types, and how each cell type works with the model.
Graphical Cell Type | Data Type Written to Model |
---|---|
Boolean |
|
Integer |
|
Depends on value of EditorValue property. String, if EditorValue = String or item data, Integer, if EditorValue = index | |
String | |
Null |
|
String | |
MultiColumnComboBoxCellType | Type of the selected value |
Depends on value of EditorValue property. String, if EditorValue = String or item data, Integer, if EditorValue = index | |
TagCloudCellType | Null |