Vertical text in jTable headers

Hi,
I have got a jTable with quite a bit of columns in it. Is there any way I can write the text - vertically in the header (first) row.
Please let me know if you have got any suggestions.
Thanks.
halosys.

I remember reading about it, maybe in the next Java version.
You can do it yourself by creating for the column headers a TableCellRenderer.

Similar Messages

  • Problem with vertical text in crystal report viewer

    Hi,
    I am displaying vertical text in crystal report designer and deploying the report in crystal reports server 2008. The deployed report is being displayed using JAVA in crystal report viewer control.
    Problem: Vertical text header  is getting collapsed wth other vertical headers.
    Please help on this.
    Thanks,

    Hi Vijay,
    I found out another method of retaining all the chart formatting that is done in the preview pane.
    Once you have done all the changes then you will find interestingly there is a chart menu option that appears in the tool bar. Once you click on it there is an option "Apply Changes to All Charts".
    Select that option, close your preview. Open it once again and you will find that all the settings are still there and the Web Viewer is able to display them properly.
    I think that I resolved this.
    Regards,
    Gourav

  • How to achive table column header style (vertical text)?

    Hi,
    Can we show adf table column headers with vertical text, and with rotation. For eg. "Dept Id" lable should show up as similar to what the below HTML does:
    <html>
    <div style="float: left;
    position: relative;
    -moz-transform: rotate(1000deg); /* FF3.5+ */
    -o-transform: rotate(290deg); /* Opera 10.5 */
    -webkit-transform: rotate(290deg); /* Saf3.1+, Chrome */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); /* IE6,IE7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3); /* IE8 */">Dept Id</div></html>
    Edited by: pramod gujjeti on Sep 18, 2011 8:51 PM
    Edited by: pramod gujjeti on Sep 18, 2011 8:51 PM

    Hi,
    I've used the below style classes in CSS, but still not getting the accurate Column Header Vertical Text. Also, in IE browser column header text is shrinked vertically when headerClass styles are applied!
    Any help appreciated!
    .sch af|column::column-header-cell {
    vertical-align: bottom;
    padding-bottom: 10px;
    height: 80px;
    .schc af|column::column-header-cell-content {
    -moz-transform: rotate(270deg);
    /* FF3.5+ */
    filter: progid: DXImageTransform.Microsoft.BasicImage(rotation=3);
    /*IE6,IE7*/
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
    /*IE8*/
    -o-transform: rotate(270deg);
    /*Opera 10.5*/
    -webkit-transform: rotate(270deg);
    /*Saf3.1+, Chrome*/
    position: relative;
    vertical-align: bottom;
    Edited by: pramod gujjeti on Sep 27, 2011 9:09 AM

  • How to wrap the text in column headers?

    Hi Friends,
    Can anyone please suggest how to wrap the text in column headers of a Java WebDynpro table?
    I believe that caption is the only UI element that a column header can have and it does not allow wrapping of the text.
    My original requirement is as follows,
    In a table I need to dynamically set the width of the columns according to the width configured by the user in some other view. All the columns of the table are dynamically rendered.
    Now what happens is when the user sets the width of the column to a rather low value, say 15 pixels, then the column is displayed like
    Supplier Catalog Name
    Sheila
    Catalog
    Name
    Dropdown
    As you can see it looks rather odd.
    Supplier Catalog Name is the header of the column and I use IWDCaption for header.
    Sheila Catalog Name Dropdown is the value of a particular row at the specified column. I am using a TextView as the TableCellEditor.
    I think what is happening here is that the framework wraps the text in the TextView according to the width specified (15px) and then the column width is extended because it can not accommodate the text (Supplier Catalog Name ) of the column header.
    We are using SAP NetWeaver Development Studio 7.0.12 as the IDE.
    I searched some forums and many people have suggested using scrollable columns but I don't understand how it will help in wrapping the text in a column header.
    Any help would be of great advantage.
    Thanks
    Amit

    Hi Deepti,
    Thanks a lot for the answer but the option that you have specified does not wrap the text. Instead it truncates the text being displayed and only the substring of the text which could be displayed in the given pixels is displayed.
    I need to show the whole text wrapped (Meaning if the width of the column is not sufficient then the text goes into the next line).
    Ayyapparaj,
    Thanks to you too for an helpful answer. It seems that the Netweaver has finally come up with a way to wrap the text in the column headers but as Manoj pointed out, I do not see the property headerTextWrapping  for a table column, Can you please specify which version of netweaver supports it?
    We are using SAP NetWeaver Development Studio 7.0.12 as the IDE.
    Thanks
    Amit Kapoor

  • Vertical text in table heading

    Hi,
    I would like to save some space in some reports and I would like to change orientation of text in table heading.
    Is it posible to have vertical text in table heading?
    What I want is showed on this picture: [Vertical text|¨http://img179.imageshack.us/img179/234/obiverticaltext.jpg]
    Thank you for some tips.

    Hi,
    Go through this...will help you solve your requirement....http://blog.trivadis.com/blogs/andreasnobbmann/archive/2009/07/17/vertical-text-in-obiee.aspx
    Use the same code Writing-mode: tb-rl; filter: flipv fliph; in custom css style of column heading.(column properties->column format->edit format icon beside column heading->css style)
    Regards,
    Srikanth

  • Printing vertical text in SMART FORMS

    Hi,guys iam fresher to this environment and i just want to print vertical text in SMARTFORMS.Will you please provide any information regarding this.

    Hi Raja,
       As far as my knowledge its not possible in Smartforms.
      I had the same requirement , what I had done is I have created a text in word and saved that as BMP and used that logo inside that window. But the requirement for me was that the TEXT was Static means it was not changing.
    Reward points if Helpful
    Regards
    Avi.........

  • Vertical Text in PDF using CFDOCUMENT

    I am using font tag in a CSS file to layout a table header
    using vertical text. In HTML, the vertical text looks fine.
    However, when I convert the table to a pdf using
    <cfdocument>, the vertical text is displayed as horizintal
    text and does not follow the css specified font family, color or
    size.
    Here is the line in the CCS I am referencing:
    .header_vertical {FONT-WEIGHT: bold; FONT-SIZE: 8pt;
    FONT-STYLE: normal; writing-mode:tb-rl; FONT-FAMILY: helvetica,
    arial, verdana, sans-serif; TEXT-DECORATION: none; COLOR: #0f437c}
    This is CFMX7 on a Windows Server 2003 OS running IIS.
    Any ideas???
    Thanks.

    Hi there, did you find a solution to this?
    I had the same issue and no matter what i tried it didn't
    work. I found out that CFDOCUMENT doesn't support CSS2.
    Eventually I came up with a clunky solution, but had no other
    choice. I bought some imaging software called Alagad (
    http://www.alagad.com) which
    produces the vertical text as images on the fly. Its not ideal, but
    there was no ther way I could disply the text.
    Hope this helps you.
    Ally

  • Weird problem with vertical text in a table

    Hello,
    I am new on this forum, usually I don't post because I always find the answer to my question, but this is something quite weird...
    I have a table with vertical text in it (it has to be vertical because the cells are narrow). And I want it to be centered in the cell, both vertically and horizontally. When the cell is high enough, no problem. But as it becomes shorter, the text moves to the left. It is exactly as if there was a right margin within the cell, which is not the case.
    See the example below : I had the text right-aligned (this is to say, bottom-aligned, as it is 270° rotated) to make it more visible.
    Can someone help me there ? I already spent hours on that problem..!
    Thank you very much !

    Only, my table contents both vertical and horizontal text, so I can't. But thanks for the suggestion.
    Thank you kindly for all your answers. Anyway, re-writing the text in separate frames won't be so difficult (anyway it'll always take less time than what that problem already did..).
    So I have a solution, thanks to Phorna
    But remains the frustration of not finding the reason of this ! I will live along with it
    Thanks to all

  • Version 3.6.17 Horizontal drop down menu is displaying as vertical text list. Page style set to basic. Menu works fine in Internet Explorer. Any hints?

    Newly installed horizontal drop down menu works in IE. In Firefox, it displays as a vertical text list. Any hints?

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    * Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems:
    * Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Creating Vertical text in horizontal position ... ??

    Hi
    I am tring to print text onto address labels in a vertical orientaion (for final use). I have a large CD collection and I am trying to print headings for plastic cards that have a small tab that sticks out. I found small address labels to be the perfect size to stick on. However, I will be appling the labels vertically.
    Pages allows you to take horizontal text and rotate it, BUT the letters are NOT stacked on top of each other, you just end up with diagnol or sideways rotated text.
    WordArt in MS Word allows you to orient the text the way I want, but I was hoping for an easier solution in Pages - as the resizing in wordart is cumbersome and fixed to varies intervalls, you cannot enter specific number sizes.
    I hope I was decribing this clearly.
    Thanks AL

    You can achieve the effect you want by creating a text box (it should be set for Moves With Text and Wrap should be off). Type your text with a return after each letter and then narrow the box to fit the vertical text. Next, in the Text Inspector center the text. Go to the Metrics inspector and type "90" in the Angle box at the bottom.
    You should be able to copy and paste this to your template.
    Walt

  • Vertical text direction / orientation in tables. (RoboHelp 7 and/or 8)

    Hello all,
    I need to squeeze a fairly full table (lots of columns) into a printable page width.
    In order to do this, I need to put text into some of the cells so that they read vertically. I can do this in MS Word tables (menu > Format > Text Direction) and need an equivalent in RH. Preferably RH7, (but can import into RH8 if I must ).
    Any ideas anyone?

    Hi Philip
    My guess is that you can probably fudge it using CSS. But it won't be something RoboHelp will assist with in any way.
    Check the link below for one hit I found. Use Google searching for vertical text in HTML to find others.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcererStone Blog
    RoboHelp eBooks

  • Vertical text in CR 2008

    Hello,
    I need to display the text in the columns labels vertically. When I set text rotation to 90 degrees, the text is rotated in the designer, but when I run the report - it's horizontal. However, when I print or export the report, the text is vertical again.
    After searching Google I've found out that this is a known bug in CR. However, I didn't find any solution other than using a CSS file. I've never used CSS with the Crystal Reports, so I wonder - is there any other solution to this problem? I need the text to be vertical on the web site as well.
    Thank you.

    The following information may help you
    Symptom
    Crystal Reports XI using vertical text is displayed correctly in Crystal reports designer.
    When exported reports are viewed in web appplication like Infoview, the report text is displayed horizontally.
    Reproducing the Issue
    Text rotated by 90 Degrees to vertical, changes back to horizontal.
    Environment:
    Crystal Reports XI
    Cause
    Crystal reports does not display the text as required,in normal view.
    Resolution
    1) Login to Infoview
    2) Click on preferences icon on the upper-right corner.
    3) Click on Crystal reports
    4) Select Active X Viewer
    5) Click Ok
    Keywords
    Vertical text, Horizontal text, Crystal Reports,Active X viewer
    Regards,
    Raghavendra

  • Vertical Text in Smartforms

    Hello,
    how can I get vertical texts in Smartforms? In need it for headings in a table, because of limited space.
    I only get things like that:
    e.g.
    P
    o
    s
    i
    t
    i
    o
    n
    But I need to rotate the whole word... Is there any solution?
    Thanks and regards!

    Hi,
    Check the below links.
    http://www.sapfans.com/forums/viewtopic.php?t=9972
    http://searchsap.discussions.techtarget.com/WebX?[email protected]@.ee83dd4/1576
    Thanks,
    ramakrishna

  • Vertical text in PDF- XSL-FO

    Hi Guys,
    We are trying to display a vertical text is a column in a PDF file. ( 90 o rotation of horizontal test).
    Is it possible in XSL-FO transformation? Could you please throw some light on this?
    (As we have lot of columns we are not able to display the column headings horizontally. )
    Thanks in anticipation
    Regards
    Rajesh

    You have two questions here.
    1. Can you have rotated text in PDF?
    2. Is there an XSL-FO construct to produce that?
    3.
    three questions...
    3. There must be a third question here about Java Programming somewhere.

  • Vertical text in charts appears upside-down in Acrobat pdf

    When I copy a chart with vertical text from Tableau into Word and then Save as Adobe PDF, the vertical text appears upside-down.
    When I copy a chart with vertical text from Tableau into Word and then Save as PDF using Word's built in PDF creator, the vertical text appears correctly.
    This bug occurs in both Adobe Acrobat 11 and Acrobat Pro DC. Can Adobe fix this bug?

    Never mind. I solved the problem myself. It turns out I needed to embed the font I used in the text boxes. Once I did that, everything shows up fine.

Maybe you are looking for