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.
Unfortunately, activation email could not send to your email. Please try again.

Drag & Drop new column

Thread ID:





27955 Apr 20,2005 02:25 PM Apr 20,2005 04:04 PM Windows Forms 2
Tags: GridControl
Stephane SansCartier
Asked On April 20, 2005 02:25 PM

When you drag and drop column in the grid, there is an icon in the form of a black ‘I’ that appear to tell you where you can drop the dragged column. In my application, I have a tree view where the user can drag and drop node from the tree view into the grid to insert column dynamically. What I want is to have the black ‘I’ icon to appear to tell the user where he can insert the new column he wants to create. Is there a way to do this?

Administrator [Syncfusion]
Replied On April 20, 2005 03:18 PM

There are no property setting to do this. you would have to write code. Here is a link to a sample that shows how you can do this with respect to dragging columns by just mousing down and moving a column immediately instead of clicking it first to select it, and then mousing down and dragging it. It has the code showing how to get the drop feedback. http://www.syncfusion.com/Support/user/uploads/forum_DragColumn_502d7d6c.zip You would have to modify this to fit into your OLE D&D drop from the treeview.

Stephane SansCartier
Replied On April 20, 2005 04:04 PM

It''s working perfectly, thank !


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.

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.