Flexgrid RowHeaders Width

Posted by: kisar on 9 April 2021, 2:01 am EST

  • Posted 9 April 2021, 2:01 am EST

    Hi,
    i tried to modify the ColumnHeaders.Height
    but the "real dimension" of the header does not change,
    same problem with the RowHeaders.Width

  • Replied 9 April 2021, 2:02 am EST

  • Marked as Answer

    Replied 11 April 2021, 8:47 pm EST

    Hi Kisar,

    Thank you for sharing the snapshot.

    As I can observe, you are setting the Height/Width of the GridPanel representing Row/Column Headers. However, you need to set the Height/Width property of the Columns/Rows present in Headers as follows:
    flexGrid.ColumnHeaders.Rows[0].Height = 40; // column header height
    flexGrid.RowHeaders.Columns[0].Width = new GridLength(40); // row header width

    Best Regards,
    Kartik
Need extra support?

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

Learn More

Forum Channels