Thank you for this question.
Yes, you can access the header row and change its font programmatically. You can do that by accessing the TableHeaderRow
property of the GridViewTemplate
class. Refer to the following sample:
|GridViewCellInfo cell = this.radGridView1.MasterGridViewInfo.TableHeaderRow.Cells["Third"]; |
|cell.CellElement.Font = new Font(SystemFonts.DialogFont, FontStyle.Bold); |
Currently, the formatting will be lost if you change the grid grouping. This is a known issue and we will provide a solution in our next release.
The DataBindingComplete event is the right event for monitoring changes in DataSource. Unfortunately, it is fired only during form initialization inside InitializeComponent method. Our upcoming release will address this issue.
We have added 500 points to your telerik points account. Do not hesitate to contact us if you have any other questions.
the Telerik team