How to use AllowColumnMove property in Spread for .net winform 3.0

Posted by: wanqi0804760 on 8 September 2017, 2:06 pm EST

  • Posted 8 September 2017, 2:06 pm EST

    How to use AllowColumnMove property in Spread for .net winform 3.0


     


    I want to let user to drag Columns to another postion in the spread.

  • Replied 8 September 2017, 2:06 pm EST

    Hello,


    To allow ColumnMove we can set the fpSpread1.AllowColumnMove = true , using this we can move contents of the entire Columns by clicking on the ColumnHeader in fpSpread and dragging it to new location.


    And to allow user to DragDrop data in cells to any other position in fpSpread we can set fpSpread1.AllowDragDrop = true.


    To move the contents of cells, the user selects the cell or range of cells, moves the pointer over the edge of the selection until the pointer appears, and then drags and drops the selection.


    And to copy the contents of cells, the user selects the cell or range of cells, moves the pointer over the edge of the selection until the pointer appears, presses the Control (Ctrl) key, and then drags and drops the selection.


    Thanks,

  • Replied 8 September 2017, 2:06 pm EST

    Thanks for reply,


    but i can't find this property in Spread,I'm using Spread for .net winform 3.0(C#)


    Error Message:


    D:\Form1.cs(109): “FarPoint.Win.Spread.FpSpread”does not include the define of “AllowColumnMove”


     Is the reason of Spread's version?

  • Replied 8 September 2017, 2:06 pm EST

    Hello,

    Could you please let us know, how are you implementing the desired behavior at your side? I have checked the same with Spread 3.0.2010.2005 on VS 2005 and the AllowColumnMove property is available with that version also.In addition to this, could you also let us know the version of Spread being used?

    Thanks

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels