on 01-12-2011 10:19 AM
Hi,
I would like to display a ralatively sparse 2D matrix containing just a cross (X) or corresponding icon.
The columns header have a caption, which can be relatively long. The best way to avoid a horizontal scrollbar ist to have the orientation of the caption vertical.
Is it possible to set such a property for WD table columns?
kind regards,
Sahla
did you get this working?
I was able to rotate the column header labels using css:
columnLable.onAfterRendering = jQuery.proxy(function (oEvent) {
this.$().css("transform", "rotate(-90deg)");
}, columnLable);
However, the rotated label is not tall enough to display the entire texts.
If I set the columnHeaderHeight of the table:
table.setColumnHeaderHeight(125);
The column header became longer/taller, but the column header labels still do not expand to occupy the entire space.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
tht is possible for the column values.......if u set it as TEXTEDIT format......
for caption it is like u an type the TEXT as long as 255 characters.....OR ELSE TO CAN BIND IT TO ANY ATTRIBUTE ALSO
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for your answer. But I didn't really get the point.
For the cellEditor of type TextEdit, I couldn't find a way to set the text orientation to vertical. the direction can be set either from left to tright or from right to left.
For the caption, I didn't understand what you mean. Could you please give me more explanation?
kind regards,
Sahla
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.