We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Columns moving by mouse

Thread ID:





18589 Sep 3,2004 03:48 AM UTC Sep 3,2004 05:26 AM UTC WinForms 1
Tags: GridControl
Asked On September 3, 2004 03:48 AM UTC

Hi All. I can''t allow columns moving by mouse. Please look at my grid in attached file. ColumnsMoving_9185.zip I want to allow moving of columns Symbol, Compress, Date, ... MovAvg3, MovAvg1 in the whole grid. But columns Plot1, Plot2, Plot3 can be moved only inside column MovAvg3. Please notice, that my grid is binded to datasource with 2 linked tables. At the picture header of root table is hidden. You can see headers of nested table only. How an I resolve my problem? Thx a lot.

Administrator [Syncfusion]
Replied On September 3, 2004 05:26 AM UTC

Here is a link to a forum thread that has a sample that does column moves just by mousing down on the column header and dragging. (The defulat behavior is to select columns, and then mouse down on the selected column header to drag them.) http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=9676 In this DragOnFirstClick sample, you have access to the source column and then target column in the code as well as the drag cursor being displayed. You could probably add checks to display the nodrag cursor and prevent the drop if the source column and target columns are not related properly. The reason I trying to modify this support is that you have covered cells over two rows in your headers, and some of the headers you want to drag are not in row 0. This will be problematic when you try to using teh default column dragging.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon