C1DataGrid and C1FlexGridGroupPanel, drag and drop not working

Posted by: m-aubrey on 22 March 2023, 12:55 am EST

    • Post Options:
    • Link

    Posted 22 March 2023, 12:55 am EST

    I’ve based this largely off of one of the sample applications you can select when you create a new project. When I run the sample application, it works fine. But when I try to integrate it into my existing application, I’m no longer able to drag and drop the columns into the C1FlexGridGroupPanel.

    My code is attached.

    Any suggestions as to how I can get the drag and drop working again, or what I did to break it?

    Edit for additional context: I’m using the .NET Framework version of the WPF Edition.

  • Posted 22 March 2023, 12:57 am EST - Updated 22 March 2023, 12:58 am EST

    The related code is here:

    AffiliateHistory.zip

    My mistake. I tried to upload the xaml file directly in the previous post but I didn’t realize xaml files weren’t accepted. I’ve attached it here.

  • Posted 23 March 2023, 8:13 am EST

    Hi,

    Thanks for providing the XAML file.

    As per the title we thought, it is related to C1Datagrid. But your XAML file has C1FlexGrid.

    JFYI, C1DataGrid and C1FlexGrid are different controls and have different architectures. C1DataGrid can’t be used with C1FlexGridGroupPanel. C1FlexGridGroupPanel can be used with only C1FlexGrid.

    However, we have created a sample just like your XAML file. And it’s working at our end.

    Please refer to the attached sample for the same: FlexGridGrouping.zip

    JFYI, we have tested with the latest version: 4.6.20223.780

    Best Regards,

    Nitin

  • Posted 23 March 2023, 8:50 pm EST

    Ah, I made a mistake in my title, but in my code I was using C1FlexGrid.

    In the end, it seems like I had incorrectly assigned Grid.Row and Grid.Col on my controls. After assigning them indexes that made sense, my problem disappeared.

  • Posted 24 March 2023, 8:12 am EST

    Hi,

    We are happy to hear that the issue is resolved at your end.

    If you have another issue related to our products. Then you can open a forum thread or generate a support ticket.

    Regards,

    Nitin

Need extra support?

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

Learn More

Forum Channels