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
Thanks for ur reply torrey.
My actual requirment is to fill an image in report header like
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
IMAGE ABC Private Limited Date: <today>
Please suggest. . .
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;
Can anyone please send the code for How to display header image in the left side ?
SSK
You just right click on the grid and go to ultrawinggrid and in controll settings -> override -> Header Apperarance -> Image
set the image....