SMART datagrid v.1 > Classes > GridBody
The default Style Set which is applied when drawing all data cells displayed in grid.
Basically, the values specified in this style set are applied to style properties which are not specified in styles of DataColumn including data cell. Later, dynamic style specified in rowDynamicStyles and cellDynamicStyles will be applied. In addition, the data cell of fixed area uses style values specified in fixedCellStyles preferentially than the ones specified in this property.
It draws the data row including cells before drawing individual data cells, and will apply style properties specified by rowStyles and rowRangeStyles.
grid.setBody({
cellStyles: {
background: '#10ff0000',
foreground: '#880000'
}
});
// or, when loading style sheet in grid level,
grid.loadStyles({
body: {
cell: {
background: '#10ff0000',
foreground: '#880000'
}
fixedCell: {
},
...
}
...
});