SMART datagrid v.1 > Classes > CellStyleManager

Back  Forward

DataLudi.CellStyleManager.dataSource  property

DataSet which will be referred when apply registered styles to data cells. 

It should be specified when explicitly create this style manager. It is no need to be specified when use the default manager within grid. 

Getter
function dataSource(): DataSet
Setter
function setDataSource(value: DataSet)
Code -1
    var sm = new CellStyleManager();
    sm.setDataSource(ds);
    grid.setStyleManager(sm);
See Also
DataSet
CellStyle
Examples
Cell Styles