:: Forum >>
ColumnHeader with double line text
Hi, I need to set the header's text not in the tradicional way, that appears in a single line, I need it with double line text appearence.
e.g.: ________
| Header |
| Column |
I set the column height in 200% or 35 px and adjust the width but the header's text already appears in single line.
It's posible to set the header's text in double line?
Jonas Boering
Friday, March 31, 2006
I find that in a post:
The header titles in our application use either 1 or 2 lines of text. When there is a single line, we prefer it to be on the second line. This is accomplished using the following syntax:
var myColumns = ["<BR>Size", "Company<BR>Part Number", "Universal<BR>Part Number", "Max O.D.<BR>M", "<BR>C", "<BR>H", "<BR>G", "Approx<BR>Wt.(lb)"];
But in the last version of aw v2.0 the <BR> doesn't work!
The aw v2.0 use another tag?
Jonas Boering
Friday, March 31, 2006
There is .aw-text-wrap class which should be applied to the cell or header parent template and enables text wrapping.
obj.setHeaderHeight(40);
obj.getHeadersTemplate().setClass("text", "wrap");
Alex (ActiveWidgets)
Friday, March 31, 2006
Alex (ActiveWidgets)
Friday, March 31, 2006
Thank you very much, it's work perfectly
Jonas Boering
Friday, March 31, 2006
This topic is archived.
Back to support forum
Forum search