Hi All,
I want to dispaly the colunder header in two lines. ie e.g. the column name " Test Column Header" should be displayed as "Test Column" in one line and in the second line "Header" should be displayed. I tried using Environment.Newline but that is not successful.
Please let me know how to implement this.
Regards,
Abhi
You can put HTML <br /> tags in the header text.
Thank you its working ....
Another way is:
Gridname.Columns.FromKey("colName").Header.Style.Wrap = True
When you do it this way, the grid will just try and make it fit (like Excel). Less control then the method listed above, but also less worry.
Hi Jarrodd,
yes this way also can be followed. But if I want to decide at which text I need to have in the second line.. this is not possbile.
Regard,Abhi