C1FlexGrid, detect drag&drop

Posted by: mysql.jorge on 24 May 2020, 2:02 am EST

  • Posted 24 May 2020, 2:02 am EST

    Howdy,

    I’d like to drag and drop one or more files into a datagrid, and perform some tasks.

    Question, is the C1FlexGrid able to detect when i drop the files on it so that i can call a function/sub?

    Is this possible, or the grid has this feature?

  • Posted 24 May 2020, 8:00 pm EST

    Hi Jorge,

    yes, this is possible. See the sample “DragImages” (https://www.grapecity.com/samples/dragimages) for a start. The sample is also in your user profile in “%USERPROFILE%\Documents\ComponentOne Samples\WinForms\v4.5.2\C1FlexGrid\CS\DragImages”

    Best regards

    Wolfgang

  • Posted 25 May 2020, 4:38 pm EST

    Hi Jorge,

    As suggested by @Wolfgang, you can take a look into the DragImages sample to learn how to detect the drag-drop operation in FlexGrid.

    If you face any issue, then please let us know.

    @Wolfgang, thank you for your suggestion.

    Regards,

    Prabhat Sharma.

Need extra support?

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

Learn More

Forum Channels