Tag property of a cell

Posted by: arcady on 16 February 2022, 11:50 pm EST

  • Posted 16 February 2022, 11:50 pm EST

    Hello, all
    In the ActiveX FlexGrid version there was a "tag" property for cell where additional information could be stored.
    How can this be done with .Net classic grid? I cannot find this or similar property.

    Thank you
    Arcady
  • Replied 17 February 2022, 7:59 pm EST

    Hi,

    In C1FlexGrid you can use the UserData property of the CellRange class to associate some custom data with a cell or cell range. You can get the CellRange using the GetCellRange method and then use its UserData property. Also, please note that the userdata moves with the rows only in unbound mode.
    Kindly refer to the attached sample showing the same.

    Regards.
    Avnish

    FlexGridSample.zip
Need extra support?

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

Learn More

Forum Channels