Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
Column Header Caption: Text Orientation in Degrees?
posted

I found a post from last year (January 2008) that helped with setting the text orientation within the header caption to be verticle (90 degrees).

This is how it can be done within the initialize layout sub, where oCol is my UltraWebGrid.UltraGridColumn:

oCol.Header.Style.CustomRules = "WRITING-MODE: tb-rl"

Now, my question is whether there is now a better way of doing this? And can you align/orient the text direction by degrees within the caption?

I have a lot of columns to show but if I can align each column's header caption to the vertical (or at an angle) then I can fit the entire grid on a single page. Note that I am using Infragistics2.WebUI.UltraWebGrid Version=7.3.20073.38 (for CLR 2.0). Just hoping for a better solution. I would imagine that other's would have need of this feature?

Thanks in advance!

Tina