SMART datagrid v.1 > Classes > GridBody
The default Style Set which is used in drawing all data cells included in fixed area.
Basically, the value specified in this style set is 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 cell included in non-fixed area uses style values specified in cellStyles preferentially.
It draws the data row before drawing individual data cells, and will apply style properties specified by rowStyles and rowRangeStyles.
grid.setBody({
fixedCellStyles: {
background: '#10ff0000',
foreground: '#880000'
}
});
// or, when loading style sheet in grid level,
grid.loadStyles({
body: {
fixedCell: {
background: '#10ff0000',
foreground: '#880000'
}
cell: {
},
...
}
...
});