Hiding column and row headings in SpreadsheetGear control
Is there a way to hide the A,B,C column headers and 1,2,3 row headers in the SpreadsheetGear 2010 control? We are using this as a display only control and showing these headings gives the impression that the data c开发者_运维知识库an be edited.
Thanks.
I found it. It is in the WorkbookView.ActiveWorksheetWindowInfo.DisplayHeadings. You can show and hide several elements from this class, including gridlines, formulas and outlines.
Cool.
I found it under WindowInfo. For example:
IWorksheet ws = wb.Worksheets[0];
ws.WindowInfo.DisplayHeadings = false;
精彩评论