Customize Row and Column Headers
Contents
[
Hide
]
Like Microsoft Excel, Aspose.Cells.GridWeb also uses standard headers or captions for rows (numbers like 1, 2, 3 and so on) and columns (alphabetic like A, B, C and so on). Aspose.Cells.GridWeb also makes it possible to customize captions. This topic discuss customizing row and column headers at runtime using Aspose.Cells.GridWeb API.
Customizing Row Header
To customize the header or caption of a row:
- Add the Aspose.Cells.GridWeb control to a Web Form.
- Access the worksheet in the GridWorksheetCollection.
- Set the caption of any specified row.
The headers of row 1 and 2 has been customized
Customizing Column Header
To customize the header or caption of a column:
- Add the Aspose.Cells.GridWeb control to a Web Form.
- Access the worksheet in the GridWorksheetCollection.
- Set the caption of any specified column.
The headers of column 1, 2 and 3 has been customized