SMART datagrid v.1 > Classes > CellStyle
CellStyle constructor.
Since it is created and registered through GridBase.registerCellStyle or registerCellStyles by using setting object, you do not need to directly create this object.
grid.registerCellStyle('style01', {
"background": "#880000",
"color": "#ffffff"
});
grid.registerCellStyles([{
id: 'style02',
background: "#000088",
color: "#ffffff"
}, {
id: 'style03',
background: "#ffff00",
color: "#ff0000"
}]);