Spread for ASP.NET 7.0 Product Documentation
Using Touch Support when Resizing Columns or Rows
See Also Support Options
Spread for ASP.NET 7.0 Product Documentation > Developer's Guide > Using Touch Support with the Component > Using Touch Support > Using Touch Support when Resizing Columns or Rows

Glossary Item Box

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.

Spread displays the column and row resize handles if the AllowHeaderResize property is true. The following image displays both handles.

Row resizing is disabled if the RowTemplateLayoutMode is used.

Using Code

Set the AllowHeaderResize and Resizable properties.

Example

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

C# Copy Code
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;
VB Copy Code
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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.