ColumnCollection.Insert(String) Method
Inserts a column with the specified heading into the worksheet.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v20.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
NuGet Packages: DevExpress.Spreadsheet.Core, DevExpress.WindowsDesktop.Spreadsheet.Core
Declaration
Parameters
Name | Type | Description |
---|---|---|
columnHeading | String | The heading of the column to insert. |
Remarks
The method’s columnHeading parameter requires a column heading in the A1 reference style.
Note
The number of columns in a worksheet is unchanged - 16,384. When you add new columns, other columns in the worksheet are shifted to the right, and the equivalent number of columns at the end are automatically removed from the worksheet.
See how add new rows and columns to a worksheet.