Red :griddatabound control

Hi, How do i set back color for row header and column header. code: this.sgbDetailedHistory.Model.RowStyles[0].BackColor = Color.FromArgb(208, 208, 208); this.sgbDetailedHistory.Model.RowStyles[1].BackColor = Color.FromArgb(208, 208, 208); this.sgbDetailedHistory.GridBoundColumns[0].StyleInfo.BackColor = Color.FromArgb(208, 208, 208); this.sgbDetailedHistory.GridBoundColumns[1].StyleInfo.BackColor = Color.FromArgb(208, 208, 208); If i set like this i am getting col 0 and col1 back color got changed. row header and col header no effect. why..? and how do i set..? Thanks, Anna

1 Reply

AD Administrator Syncfusion Team July 21, 2005 12:09 PM UTC

The styles of the headers are set through specific header basestyles. See this KB. http://www.syncfusion.com/support/kb/grid/Default.aspx

Loader.
Up arrow icon