ColumnCollection.Insert(String, Int32) Method
Inserts multiple columns 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 first column to insert. |
count | Int32 | The number of inserted columns. |
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.