# Using Touch Support when Resizing Columns or Rows

Discover the touch support features for resizing columns or rows with FpSpread and manage the ResizeZeroIndicator property for precise control over zero width columns or zero height rows.

## 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.
FpSpread provides a [ResizeZeroIndicator](/spreadnet/api/latest/online-win/FarPoint.Win.Spread/FarPoint.Win.Spread.FpSpread.ResizeZeroIndicator.html) property that specifies the policy when a column or row is resized to zero. If the property is set to Default when using touch gestures, a column with zero width cannot be resized (or a row with a height of zero). If the property value is Enhanced, then a zero width column (or zero height row), can be resized. Select the column or row, and press and hold the resize handle to resize the visible column or row. Tap the center of the two short lines to select the column with a width of zero (or row with a height of zero), then press and hold the resize handle to resize the column (or row).
The following image displays a selected, zero width column.
![An image displaying zero width column](https://cdn.mescius.io/document-site-files/images/2238e618-a1fb-45a6-9ce5-9a4157bd2931/images/touchresize.png)
The column or row [Resizable](/spreadnet/api/latest/online-win/FarPoint.Win.Spread/FarPoint.Win.Spread.Column.Resizable.html) property must be true to resize a column or row.

> !type=note
> **Note:** FpSpread provides a [ResizeZeroIndicator](/spreadnet/api/latest/online-win/FarPoint.Win.Spread/FarPoint.Win.Spread.FpSpread.ResizeZeroIndicator.html) property that specifies the policy when a column or row is resized to zero. When using the mouse, the default value displays the same mouse cursor for resizing and resizing-out. The Enhanced value displays a resize cursor to the left of a column header border and a resize-out cursor to the right of a column header border.

## Using Code

The following example allows the user to resize zero width columns or zero height rows by setting the [ResizeZeroIndicator](/spreadnet/api/latest/online-win/FarPoint.Win.Spread/FarPoint.Win.Spread.FpSpread.ResizeZeroIndicator.html) property to Enhanced.

```csharp
fpSpread1.ResizeZeroIndicator = FarPoint.Win.Spread.ResizeZeroIndicator.Enhanced;
fpSpread1.ActiveSheet.Columns[0, 5].Resizable = true;
fpSpread1.ActiveSheet.Rows[0, 10].Resizable = true;
fpSpread1.ActiveSheet.Columns[2].Width = 0;
```

```vbnet
fpSpread1.ResizeZeroIndicator = FarPoint.Win.Spread.ResizeZeroIndicator.Enhanced
fpSpread1.ActiveSheet.Columns(0, 5).Resizable = True
fpSpread1.ActiveSheet.Rows(0, 10).Resizable = True
fpSpread1.ActiveSheet.Columns(2).Width = 0
```

## See Also

[Using Touch Support with AutoFit](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tsautofit)
[Using Touch Support with Cell Notes](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tscellnote)
[Using Touch Support with Charts](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tschart)
[Using Touch Support with Clipboard Operations](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tsclipboard)
[Using Touch Support with Drag and Fill](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tsdragfill)
[Using Touch Support with Drop-Down Elements](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tselements)
[Using Touch Support with Editable Cells](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tseditcells)
[Using Touch Support with InputMan Cells](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tsinputman)
[Using Touch Support with Filtering](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tsfilter)
[Using Touch Support with Grouping](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tsrangegroup/tsgrouping)
[Using Touch Support with Range Grouping](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tsrangegroup)
[Using Touch Support when Moving Columns or Rows](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tsmove)
[Using Touch Support with Scrolling](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tsscroll)
[Using Touch Support with Selections](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tsselection)
[Using Touch Support with Shapes](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tsshapes)
[Using Touch Support when Sorting](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tssort)
[Using Touch Support with Viewports](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tsviewport)
[Using Touch Support with the Tab Strip](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tstabstrip)
[Using Touch Support with Zooming](/spreadnet/docs/latest/online-win/overview/spwin-devguide/tsmain/tsusing/tszoom)