FexGrid row headers

Posted by: chris on 7 January 2021, 3:36 pm EST

    • Post Options:
    • Link

    Posted 7 January 2021, 3:36 pm 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?

  • Posted 8 January 2021, 4:20 am 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

  • Posted 8 January 2021, 4:18 pm 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?

  • Posted 12 January 2021, 7:52 am 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