SMART datagrid v.1 > Classes > ColumnHeader
Style Set which is used as the text font and color values when display subText in column header.
var columns = [{
"name": "colYear",
"fieldName": "Years",
"header": {
"text": "Year",
"subText": "years",
"subTextLocation": "lower",
"styles": {
"textWrap": "explicit",
"textAlignment": "near"
},
"subStyles": { // <== subStyles
"color": "#f00"
}
}
},
...
];
grid.setColumns(columns);