drag column into a panel

Originally Posted 25 June 2017, 12:04 pm EST

  • Originally Posted 25 June 2017, 12:04 pm EST

    Hi
    i need to drag a column in a panel and convert it like a button.
    I saw the example in the project : Flexgroup but it's too complicated for me...

    Can you help me ?
    Thanks in advance.
    M;-)
  • Reply

    Hi Massimo,

    I have developed a solution and attached it to the post. In this, when I invoke DoDragDrop method through the mousedown event of the C1FlexGrid, I can drag and drop the column header in the Panel like a button.

    Please let me know, if this helps.


    Regards,

    +Manindra
    2017/06/DragNDropFlexColumnAsButton.zip
  • Reply

    Hi,

    Could you please elaborate further about what do you mean by "...and convert it like a button". If it means to simply drag a field/column to panel and group the grid according to that field/column, then just as you mentioned there exists sample "FlexGroup" implementing this functionality. Also, could you please let us know implementing which part of the sample is causing trouble to you (and looking complex).

    Thanks,
    Ruchir Agarwal
  • Reply

    Thanks Manindra !
    but can you upload a version in vb.net ?
    I dont have installed in my pc a Visual C#.... :-(

    bye
    M

  • Reply

    Ruchir Agarwal
    thanks and sorry for my English...
    I think that Manindra understood my problem.

    Bye
    M
  • Reply

    Hi Massimo,

    I have attached VB.Net 2015 project for the above solution. Hope this helps.


    Regards,

    +Manindra
    2017/06/VBDragNDropFlexColumnAsButton.zip
  • Marked as Answer

    Reply

    great !
    It works.
    Thank you very much
Need extra support?

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

Learn More

Forum Channels