AD
Administrator
Syncfusion Team
April 30, 2003 08:05 AM UTC
I think you can use the same technique as other cells in the column with a couple of additional changes.
You can identify the column header in PrepareViewStyleInfo by checking for e.RowIndex == 0. So, if it is the particular header you are looking for, in addition to setting the image stuff, also set e.Style.CellType = "Static" and e.Style.CellAppearance = GridCellAppearance.Raised;
The raised part is what gives the cell the 3d header look. You can set this to Flat if you don't wnat this.
PH
Paul Heal
April 30, 2003 09:03 AM UTC
Worked like a charm.
I was missing the setting of the cell type.
Thanks!