FexGrid row headers

Posted by: chris on 7 January 2021, 6:36 am EST

  • Posted 7 January 2021, 6:36 am EST

    Hi, I am adding columns and rows manually, but I can't find an option to set the row header text and to show the row header column.
    It looks like there is a GridRowHeaderColumn class, but I am unable to find how to reference it, can someone let me know?
  • Replied 7 January 2021, 7:20 pm EST

    Hi Chris

    To add the RowHeader and set the text to the Row Header, please refer to the "CustomMerging" sample of the FlexGrid101 sample.

    You can find the sample at "Documents\ComponentOne Samples\Xamarin\CS\XF".

    Please let me know if you need any other help.

    Thanks
  • Replied 8 January 2021, 7:18 am EST

    Thanks.
    It looks like I cannot set the rowheader column width:

    .Grid.RowHeaders.Columns[0].Width = 500; (I tried 50, 10, etc)
    Rowheader does not show.
    This is the column on the left of the grid that has the header text for each row.

    What value should width be? Is it pixels, dp, other?
  • Marked as Answer

    Replied 11 January 2021, 10:52 pm EST

    Hi Chris

    I have responded to your query on the original case, Please have a look at the below case for response
    https://supportone.componentone.com/casedetail/470445 .

    Please let me know if you need any other help.

    Thanks
Need extra support?

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

Learn More

Forum Channels