gridview format

1 Answer 56 Views
GridView
atfat
Top achievements
Rank 1
Iron
Iron
atfat asked on 15 Oct 2021, 06:22 PM

Hi

is there any way to change the font of the add new row in WinForms grid view

thanks in advance

regards

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 19 Oct 2021, 08:58 AM
Hello, Atfat,

RadGridView offers a convenient API for customizing the grid system and data cells/rows. The ViewCellFormatting and the ViewRowFormatting events are quite useful for this purpose if you want to change the font of a cell or row element:
https://docs.telerik.com/devtools/winforms/controls/gridview/cells/formatting-cells 
https://docs.telerik.com/devtools/winforms/controls/gridview/rows/formatting-rows 

Note that these events are fired for all cells/rows. Consider the row type or index and apply the desired font. Then, reset the applied setting for the rest of the cells/rows.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
GridView
Asked by
atfat
Top achievements
Rank 1
Iron
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or