SMART datagrid v.1 > Classes > GridBase
Apply the style set to all areas of grid transferred by parameter styles.
grid.loadStyles({
header: {
background: "#100000ff"
fontBold: true
},
body: {
updated: {
background: "#10000000"
},
...
},
...
});
// Get and apply the themes being stored externally.
grid.loadStyles(deptCode == 'dept100' ? theme100 : defaultTheme);