SMART datagrid v1.4 > Classes > GridBase
매개변수 styles로 전달되는 하나 이상의 CellStyle을 그리드에 등록한다.
등록된 스타일은 setCellStyle 등을 통해 데이터셀들에 적용시킬 수 있다.
grid.registerCellStyles([{
id: 'style01',
"background": "#880000",
"color": "#ffffff"
}, {
id: 'style02',
background: "#000088",
color: "#ffffff"
}]);
grid.setCellStyle(0, 'country', 'style01', true);