DataGridView Column drag and drop with Auto-horizontal scroll

Posted by yona on Stack Overflow See other posts from Stack Overflow or by yona
Published on 2010-05-20T21:04:57Z Indexed on 2010/05/20 21:10 UTC
Read the original article Hit count: 428

Can anyone please suggest how should I implement column drag and drop (with auto scroll) feature in DataGridView. I know I can use the controll's AllowUserToDragDrop option. However, since my datagridview control has relatively large number of columns, I need an auto scroll feature which follows the current drag-drop position so that users can see the destination column(s) before dropping. I have implemented the custom drag and drop feature but still I am having problem to enable auto scroll option.

© Stack Overflow or respective owner

Related posts about datagridview

Related posts about drag-and-drop