Sample code/project for using grid in C1 WinForms

Posted by: a.koneva on 6 August 2022, 3:18 pm EST

  • Posted 6 August 2022, 3:18 pm EST

    Hi

    Can anybody give me a sample code/project C# for C1 WinForms which uses grid. I need to know how to make grouping by colums and binding data to grid.

    Best regards,

    Anna.

  • Posted 8 August 2022, 12:44 am EST

    Hi Anna,

    You can refer to the documentation at https://www.grapecity.com/componentone/docs/win/online-flexgrid/group.html for information on how to perform grouping in FlexGrid.

    We have attached a sample demonstrating how to bind the FlexGrid and group data by code.

    If you have any questions, let us know.

    Regards

    Avnish

    FlexGrid_Grouping.zip

  • Posted 8 August 2022, 9:03 pm EST

    Hi

    But what version of C1 does the attached project use?

  • Posted 8 August 2022, 9:12 pm EST

    I tried to install 4.5.20211.492, but failed to compile this project.

  • Posted 8 August 2022, 11:21 pm EST

    Hi,

    The project uses the latest 22v2 release. If you are using 4.5.20211.492, it might have failed to compile due to the ColumnPickerInfo since this feature was introduced in a later release. We have attached a modified sample that uses the 21v1 release.

    If you face any issues, let us know.

    Regards

    Avnish

    FlexGrid_Grouping_mod.zip

Need extra support?

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

Learn More

Forum Channels