# Using Touch Support when Resizing Columns or Rows

Learn how you can resize columns or rows using touch gestures in Spread for ASP.NET control.

## Content

You can resize columns or rows using touch gestures.
Select a column or row (tap to select), press the column or row resize handle and slide to change the width or height, and then release.
![Column Resize Handle](https://cdn.mescius.io/document-site-files/images/346c9178-0ed8-4fb9-908b-1565b22fb408/artwork/tresize.png)
Spread displays the column and row resize handles if the [AllowHeaderResize](/spreadnet/api/latest/online-asp/FarPoint.Web.Spread/FarPoint.Web.Spread.FpSpread.AllowHeaderResize.html) property is true. The following image displays both handles.
![Row and Column Resize Handles](https://cdn.mescius.io/document-site-files/images/346c9178-0ed8-4fb9-908b-1565b22fb408/artwork/thresize.png)
Row resizing is disabled if the **RowTemplateLayoutMode** is used.

## Using Code

Set the [AllowHeaderResize](/spreadnet/api/latest/online-asp/FarPoint.Web.Spread/FarPoint.Web.Spread.FpSpread.AllowHeaderResize.html) and [Resizable](/spreadnet/api/latest/online-asp/FarPoint.Web.Spread/FarPoint.Web.Spread.Column.Resizable.html) properties.

## Example

This example allows the user to resize headers, columns, and rows.

```csharp
FpSpread1.Sheets[0].Columns.Count = 10;
FpSpread1.Sheets[0].Rows.Count = 20;
FpSpread1.AllowHeaderResize = true;
FpSpread1.ActiveSheetView.Columns[0, 5].Resizable = true;
FpSpread1.ActiveSheetView.Rows[0, 10].Resizable = true;
```

```vbnet
FpSpread1.Sheets(0).Columns.Count = 10
FpSpread1.Sheets(0).Rows.Count = 20
FpSpread1.AllowHeaderResize = True
FpSpread1.ActiveSheetView.Columns(0, 5).Resizable = True
FpSpread1.ActiveSheetView.Rows(0, 10).Resizable = True
```

## See Also

[Resizable Property](/spreadnet/api/latest/online-asp/FarPoint.Web.Spread/FarPoint.Web.Spread.Row.Resizable.html)
[Allowing the User to Resize Rows or Columns](/spreadnet/docs/latest/online-asp/overview/spweb-devguide/spweb-interaction/spweb-interact-rowcol/spweb-rowcol-resize)
[Creating Row Templates (Multiple-Line Columns)](/spreadnet/docs/latest/online-asp/overview/spweb-devguide/spweb-appearSet/spweb-appearRowCol/spweb-multilinecolumns)