Spread for ASP.NET 18 Product Documentation / Developer's Guide / Using Touch Support with the Component / Using Touch Support / Using Touch Support when Moving Columns
Using Touch Support when Moving Columns

You can use touch gestures to move columns.

Tap the column header to select it, then slide to the target location. Release to move the column.

Before Move Action

The following image displays the column after the move action has been completed.

After Move Action

Select a column header range and then press and slide to move the range. Release to complete the action.

Moving a Range

The AllowColumnMove property must be true to move columns.

Refer to Using Touch Support with Selections for more information on how to select a column or row.

Using Code

Set the AllowColumnMove property.

Example

This example code sets the AllowColumnMove property.

C#
Copy Code
FpSpread1.ActiveSheetView.AllowColumnMove = true;
VB
Copy Code
FpSpread1.ActiveSheetView.AllowColumnMove = True