Is there a way to put images in the column header? I'm using this code to do it, but nothing seems to be working.
grid.DisplayLayout.Bands[0].Columns["IconColumn"].Header.Appearance.Image = grid.DisplayLayout.Appearances["Icon"];grid.DisplayLayout.Bands[0].Columns["IconColumn"].Header.ToolTipText = "Icon Column";grid..DisplayLayout.Bands[0].Columns["IconColumn"].Header.Appearance.ImageHAlign = Infragistics.Win.HAlign.Left;grid.DisplayLayout.Bands[0].Columns["IconColumn"].Header.Appearance.TextHAlign = Infragistics.Win.HAlign.Right;
Thanks
Can anyone please send the code for How to display header image in the left side ?
SSK
SSK, here's the programmatic way of doing what you asked, just replace the image I used with whatever one you needed.
ultraGrid1.DisplayLayout.Bands[0].Columns["YourColumnKey"].Header.Appearance.ImageHAlign = Infragistics.Win.HAlign.Left;