chompy18
14 Dec 2011, 3:47 AM
Hi.
I am trying to set a CSS Style from an external CSS file to the Grid's ColumnConfig.
I have managed to apply style to column using:
priceCC.setStyle("text-align: right; width:8em;");
This works since setStyle expects a string or css style.
But I don't want to have the style explicitly defined in code. I want to have if defined in CSS file and reference it to the ColumnConfig.
How can this be done?
Thanks,
Sefi
I am trying to set a CSS Style from an external CSS file to the Grid's ColumnConfig.
I have managed to apply style to column using:
priceCC.setStyle("text-align: right; width:8em;");
This works since setStyle expects a string or css style.
But I don't want to have the style explicitly defined in code. I want to have if defined in CSS file and reference it to the ColumnConfig.
How can this be done?
Thanks,
Sefi