how to apply css file to a column in grid?
i already have a css file with styles defined such as
date-col {
background-color: #def;
etc
}
amt-col {
background-color: #eee;
etc
}
how can i apply the style by name to columns in the grid? i only know how to do set individual style like this:
awGrid.getCellTemplate(col, row).setStyle("background-color", "orange");
but it would be nice to be able to apply date-col, amt-col rather than each attribute of it.
thanks
date-col {
background-color: #def;
etc
}
amt-col {
background-color: #eee;
etc
}
how can i apply the style by name to columns in the grid? i only know how to do set individual style like this:
awGrid.getCellTemplate(col, row).setStyle("background-color", "orange");
but it would be nice to be able to apply date-col, amt-col rather than each attribute of it.
thanks
mango
November 26,