---
title: "GridCells.UngroupColumns"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridweb.data/gridcells/ungroupcolumns/"
product: "Aspose.Cells for .NET API Reference"
description: "GridCells method. Ungroups columns"
---

## GridCells.UngroupColumns method

Ungroups columns.

```csharp
public void UngroupColumns(int firstIndex, int lastIndex)
```

| Parameter | Type | Description |
| --- | --- | --- |
| firstIndex | Int32 | The first column index to be ungrouped. |
| lastIndex | Int32 | The last column index to be ungrouped. |

### See Also

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


