How to make a datagridview columns fixed C1datagrid

Posted by: duc.pham on 14 June 2018, 6:13 am EST

    • Post Options:
    • Link

    Posted 14 June 2018, 6:13 am EST

  • Posted 15 June 2018, 1:17 am EST

    Hi,

    There are two ways to do fix/freeze column/s in C1DataGrid:

    1. At run time: You can provide customers the ability to freeze column/s. For this, a freeze bar will be shown, which the user can drag to freeze/un-freeze certain columns. This is done effortlessly by setting CanUserFreezeColumns property to DataGridColumnFreezing.Left.
    2. You can fix the number of frozen columns in your application. Doing this, end users won’t be able to freeze/un-freeze the columns. This can also be done effortlessly by setting FrozenColumnCount to number of columns you wish to fix/freeze.

      Attached is a sample application to illustrate the same.

    Thanks,

    Ruchir

    FreezeColumn_DataGrid.zip

  • Posted 24 July 2018, 11:33 pm EST

    thanks you feedback for me!

Need extra support?

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

Learn More

Forum Channels