Flexgrid Grouping by code : not reflected in grouppanel

Posted by: fsegui on 3 January 2022, 5:00 pm EST

    • Post Options:
    • Link

    Posted 3 January 2022, 5:00 pm EST

    Hi,

    I’ve a C1FlexGrid & a C1FlexGridGroupPanel linked.

    I’m adding by code a grouping on a specific column but the grouppanel stays empty. Is it possible to refresh it by code?

    Thanks

  • Posted 4 January 2022, 1:05 am EST

    Hi,

    We were could not replicate the issue on our end. The C1FlexGridGroupPanel is automatically updated after the Grouping is applied through code.

    Kindly refer to the attached sample showing the behavior on our end. If you are doing something different, please share a sample replicating the issue and the version of C1 controls you are using, so that we can assist you further.

    Regards,

    Avnish

    GroupPanelUpdate_FG.zip

  • Posted 4 January 2022, 5:13 am EST

    Hi Avnish,

    Actually, I was doing it a bit differently.

    C1FlexGrid1.GroupDescriptions = New List(Of GroupDescription)
    C1FlexGrid1.GroupDescriptions.Add(New GroupDescription("Position"))
    

    But with your code, it works fine.

    Thanks

    Regards,

    Florent

Need extra support?

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

Learn More

Forum Channels