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.
We have tested your scenario/code on Windows 7 with IE8 and it works
fine. We could not find the issue you have mentioned. Please try our
latest fix v2.0.3.14(we attached in previous post).
If you still find the issue, could you create a sample project, zip it
and post it here to reproduce the issue.