G Guest Mar 2, 2005 #1 How do I define multiline column header in DataGrid control? I need two-line headers for some columns. Thank you
How do I define multiline column header in DataGrid control? I need two-line headers for some columns. Thank you
D Dan Bass Mar 2, 2005 #2 Any cell in a Datagrid (which is an HTML table when presented client side) wraps text to as many lines as required to fit by default. When you say multiline, is this what you mean, or are you refering to having two fields in one column?
Any cell in a Datagrid (which is an HTML table when presented client side) wraps text to as many lines as required to fit by default. When you say multiline, is this what you mean, or are you refering to having two fields in one column?
D Dan Bass Mar 3, 2005 #4 Have you tried putting a new line character (\r\n) into the header? string columnHeader1 = "First Line\r\nSecond Line";
Have you tried putting a new line character (\r\n) into the header? string columnHeader1 = "First Line\r\nSecond Line";
G Guest Mar 3, 2005 #5 Yes I have. It didn't work: Second Line becomes invisible, and header's height remains the same, with room for one line only.
Yes I have. It didn't work: Second Line becomes invisible, and header's height remains the same, with room for one line only.
D Dan Bass Mar 4, 2005 #6 There's a rumour this can do it: http://dotnet.leadit.be/extendeddatagrid/ it's free as well.