Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 SpreadsheetGear 2010 控件中隐藏 A、B、C 列标题和 1、2、3 行标题?我们将其用作仅显示控件,并且显示这些标题给人的印象是可以编辑数据。
谢谢。
我找到了。它位于 WorkbookView.ActiveWorksheetWindowInfo.DisplayHeadings 中。您可以显示和隐藏此类中的多个元素,包括网格线、公式和轮廓。
凉爽的。
我在 WindowInfo 下找到它。例如:
IWorksheet ws = wb.Worksheets[0]; ws.WindowInfo.DisplayHeadings = false;