RadGridView Drag and Drop from / to GridViewColumnGroup

7 posts, 0 answers
  1. Michal
    Michal avatar
    11 posts
    Member since:
    Jul 2014

    Posted 03 Sep 2015 Link to this post

    Hi

    I need to drag and drop from / to  GridViewColumnGroup of RadGridView.

    I haven't found any example or guide how to do it.

    Setting up DragDropManager events (like DragInitializeHandler, DropHandler ... ) to RadGridView doesn't work on GridViewColumnGroup.

    Drag and drop from / to GridViewCells and GridViewHeaderCells works, but GridViewColumnGroup doesn't.

    Does anyone know how to drag and drop from / to GridViewColumnGroup?

  2. Michal
    Michal avatar
    11 posts
    Member since:
    Jul 2014

    Posted 03 Sep 2015 in reply to Michal Link to this post

    image
  3. UI for WPF is Visual Studio 2017 Ready
  4. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 03 Sep 2015 Link to this post

    Hi Michal,

    I am afraid that you can not drag/drop ColumnGroup since reordering of GridView's ColumnGroups is not supported. The supported feature is - Reordering Columns.

    Regards,
    Yoan
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. Michal
    Michal avatar
    11 posts
    Member since:
    Jul 2014

    Posted 03 Sep 2015 Link to this post

    I don't need feature like reordering column groups, I need to implment custom drag and drop (using DragDropManager).

    I just need to make somehow column groups dragable and dropable.

    Is there any workaround? (like editing default column group style?? .. etc.) Or it is absolutely impossible?

  6. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 04 Sep 2015 Link to this post

    Hello Michal,

    I am afraid that I can not understand the exact scenario. Would it be possible to share more details about it? What do you expect to happen after drop of the columnGroup.?

    Regards,
    Yoan
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  7. Michal
    Michal avatar
    11 posts
    Member since:
    Jul 2014

    Posted 04 Sep 2015 Link to this post

    I expect:

    be able to drop to column ​group (and recognize that I dropped to column group, not to other control)

    be able to drag from column group (and recognize that ​I dragged from column group, not from other control)

    events that I subscribed are raised (from DragDropManager like DragOver, DropCompleted ... etc.)

    what should happen after drag or drop is implmented in event handlers of events that I subscribed

    so it's something like custom column group drag and drop using DragDropManager

  8. Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 09 Sep 2015 Link to this post

    Hello Michal,

    Thank you for clarifying.

    Unfortunately, custom drag and drop of a ColumnGroup element is not possible.

    Regards,
    Yoan
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for WPF is Visual Studio 2017 Ready