How exactly does the CssClass property work in the TableItemStyle class? I have a css file defined for the page and added a few styles that I want to use in the grid.
e.g.
.acwDay
{font:Arial, Helvetica, sans-serif;
color:Black;
font-weight:bold;
background-color:Yellow;
font-size:16;}
Then I write my code as:
Aspose.Cells.GridWeb.TableItemStyle dayStyle = new Aspose.Cells.GridWeb.TableItemStyle();
dayStyle.CssClass = "acwDay";
sheet.Cells[iRow, 1].Style = dayStyle;
The style does not show up.
This method is obviously not the way to do it.
Can you show me the right way?
I don't want to programmatically add each indiviidual style. I would prefer that they be in an external file like the css file above.
The style does work on other tags in the page.
This message was posted using Aspose.Live 2 Forum