Overview

This sample shows moving rows/columns.


 IDCompany NameNameTitleAddressCityRegionPostalCodeCountryPhoneFax
1ALFKIAlfreds FutterkisteMaria AndersSales RepresentativeObere Str. 57Berlin 12209Germany030-0074321030-0076545
2ANATRAna Trujillo Emparedados y heladosAna TrujilloOwnerAvda. de la Constitución 2222México D.F. 05021Mexico(5) 555-4729(5) 555-3745
3ANTONAntonio Moreno TaqueríaAntonio MorenoOwnerMataderos 2312México D.F. 05023Mexico(5) 555-3932 
4AROUTAround the HornThomas HardySales Representative120 Hanover Sq.London WA1 1DPUK(171) 555-7788(171) 555-6750
5BERGSBerglunds snabbköpChristina BerglundOrder AdministratorBerguvsvägen 8Luleå S-958 22Sweden0921-12 34 650921-12 34 67
6BLAUSBlauer See DelikatessenHanna MoosSales RepresentativeForsterstr. 57Mannheim 68306Germany0621-084600621-08924
7BLONPBlondel père et filsFrédérique CiteauxMarketing Manager24, place KléberStrasbourg 67000France88.60.15.3188.60.15.32
8BOLIDBólido Comidas preparadasMartín SommerOwnerC/ Araquil, 67Madrid 28023Spain(91) 555 22 82(91) 555 91 99
9BONAPBon app'Laurence LebihanOwner12, rue des BouchersMarseille 13008France91.24.45.4091.24.45.41
10BOTTMBottom-Dollar MarketsElizabeth LincolnAccounting Manager23 Tsawassen Blvd.TsawassenBCT2F 8M4Canada(604) 555-4729(604) 555-3745
   

You can allow the user to drag and move rows/columns. Set the AllowRowMove/AllowColumnMove property in the SheetView class to allow the user to move rows/columns.


For the user to move rows/columns, they simply left click on the header of the column to move and drag the header back or forth over the header area and release the mouse over the header of the desired destination.


Moving rows/columns is not supported in child sheets in hierarchical displays.

Documentation