## GridWorksheet.SetColumnCaption method

Sets the caption for the column.please note this is an extension attribute and can not keep in excel file

```csharp
public void SetColumnCaption(int column, string caption)
```

| Parameter | Type | Description |
| --- | --- | --- |
| column | Int32 | Column index. |
| caption | String | The column caption. Pass null or empty string if you want cancel the caption. |

### See Also

* class [GridWorksheet](../)
* namespace [Aspose.Cells.GridWeb.Data](../../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../../)


