Horizontal scroll bar not appeating in af:treeTable

We have an af:treeTable component in a popup with two af:column.
Issue:
1. af:treeTable is not showing horizontal scroll bar. When i set the width to a fixed value say 1000 on af:column c171, it shows scroll bar but the size is fixed.
This is not the solution, because if the length of #{node.TerrDimMemberHierarchy} exceeds this size again some portion of it becomes invisible.
Question:
1. How can i make horizontal scroll bar appear in tree table. And also it should grow or shrink depending upon the length of #{node.TerrDimMemberHierarchy}
data.
<af:treeTable rowBandingInterval="0" id="tt2"
fetchSize="25"
inlineStyle="width:38em; height:28em; border-width:1px; border-style:groove;"
partialTriggers="::dimensionDropDown ::searchButton ::cb5"
rowSelection="multiple"
value="#{backingBeanScope.ManageTerritoriesBean.dimensionMemberSearchTreeTableTreeModel}"
var="node"
visible="#{pageFlowScope.searchString != null ? (pageFlowScope.viewInHierarchyBtnLbl == null ? true : false) : false}"
columnStretching="column:c171"
binding="#{backingBeanScope.ManageTerritoriesBean.dimensionMemberSearchTreeTable}"
summary="#{salesterrmgmtterritoriesuiGenBundle['OLabel.AvailableDimensionMembers']}"
immediate="true"
selectionListener="#{backingBeanScope.ManageTerritoriesBean.dimensionMemberSearchTreeListener}"
styleClass="AFStretchWidth">
<f:facet name="nodeStamp">
<af:column sortable="false" id="c14"
rowHeader="unstyled"
headerText="#{salesterrmgmtterritoriesuiAttrBundle['ColAttr.Name.DimensionName.MOTTERRDIMENSIONSVL.NAME']}">
<af:outputText value="#{node.Name}" id="ot15"/>
</af:column>
</f:facet>
<af:column sortable="false" id="c171"
headerText="#{dlBndl.PATH}"
styleClass="AFStretchWidth">
<af:outputText value="#{node.TerrDimMemberHierarchy}"
id="ot16"/>
</af:column>
</af:treeTable>
Edited by: sekare on Aug 29, 2011 4:01 AM

can u remove the styleClass="AFStretchWidth" for af:column
AFStretchWidth is for table or treetable to stretch.. not for columns
<af:column sortable="false" id="c171"
headerText="#{dlBndl.PATH}"
styleClass="AFStretchWidth">

Similar Messages

  • Horizontal Scroll Bar not displaying

    Hi,
    We have a page with many recursive tables for alignment.
    We have a lot of graphs displayed horizontally, so that we need to scroll the page horizontally.
    We happened to change the layout and suddenly we are missing the horizontal scroll bar !!
    We could not scroll to see the hidden page details.
    This happens only in IE6, IE7. Firefox, Mozilla displays it with horizontal bars
    Does anybody knows as what the problem could be ??
    - Mohan

    Horizontal Scrollbar in base window... has nothing to do with Framework, its a browser feature and should appear automatically. I m still wondering what must have caused in ur cause.Can u upload the page screenshot on any pic website, would like to have a look !
    There is CSS work around for this but it would be difficult to inject it in a OAF page!Anyways upload the screenshot.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Horizontal scroll Bars not coming in JTable

    Hi,
    If a user streches any column of the jtable to the right such that its values are not visible properly. Then should the horizontal scroll bar come in the scrollpane in which table is there.??
    If Yes then how can I do it?
    I have seen when no of rows becomes more than the display area of the table then vertical scrollbar are coming automatically. but not Horizontal scroll bars.
    Please help

    sorry for my previous mistype, here is the right solutions to your problem.
    As default the JTable will auto resize your column width, if you want horizon scrollbar
    you must do following below steps:
    JTable tableview = new JTable (model) ;
    tableview.setAutoResizeMode (JTable.AUTO_RESIZE_OFF) ;
    JScrollPane scrollpane = new JScrollPane (tableview,
    ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED,
    ScrollPaneConstants.HORIZONTAL_SCROLLBAR_AS_NEEDED) ;
    JPanel p ;
    p.add (scrollpane) ;
    This can works for you !

  • Horizontal scroll bar not appearing-Alert report screen

    Hi All,
    I have an agent setup which shows alerts and a report is fed as an input/delivery content. The report is fairly big with many columns and cannot fit in the standard alert screen hence need a horizontal scroll bar to view all the columns. But unfortunately there are two vertical scroll bars which are appearing and no horizontal scroll bar. Could the experts please let me know if this is a bug or is there any configuration that I am missing?
    OBIEE version: 11.1.1.5
    Any help would be appreciated.
    Thanks,
    Vikram

    Hi,
    Sorry for the delay in response. The issue was because of IE7 version. Its a bug.
    Thanks,
    Vikram

  • Horizontal scroll bar not showing in PO

    Hi Experts,
    I'm unable to see the Horizontal scroll bar in PO item overview..so unable to see all the columns..is there any setting for that ???so that I can use it again ...

    Hi,
    Click 'Table Control Settings' icon (press the button on the top-right
    hand of the item details area you're referring to - the icon is 3
    columns with a a yellow first column)
    In the 'Administrator' area there is a setting here in the section
    'Further settings', with a field 'No. of fixed columns'.
    Check the value here.Make it to 2 and activate.You should be able to see the scroll bar now.
    Regards,
    Ashwini.

  • ALV-Horizontal scroll bar not working

    Hi,
    I have one ALV.  There are 3 fields.  First 2 fields are key fields and the third field is of type string with length 3000.  The problem is I cant scroll the grid horizontally though the scroll bar is there.  
    where to use this method set_scroll_info_via_id() ?
    Regards,
    Sunil

    HI Sunil,
    If it is normal ALV the Vertical and Horizantal bars will enable automatically...
    while fililng the filed catalog you use the parameter "OPTIMIZE"....
    ie
    wa_filedcat-COL_OPT = 'X'.
    for better understanding..refer to this.
    Re: Cursor in ALV container
    hope it works..
    Thanks!
    Edited by: Prasanth on Mar 23, 2009 11:32 AM
    Edited by: Prasanth on Mar 23, 2009 11:36 AM

  • BP Transaction Horizontal scroll bar is not working

    Hi,
    Horizontal Scroll Bar Not working for Marketing Attribute after Upgradation from Crm 6.0 to EHP 7.02
    Scroll bar need to be Enabled or active Please suggest any OSS Note or any Idea in doing this .Please help me out
    Thanks & Regards
    Srinivas

    Hello,
    Not sure to understand the issue here. If you are using CRM7 EHP2, you should user WebUI/IC to manage BP. SAP GUI is no longer supported.
    Best regards,
    Sylvain AGUETTAZ

  • Horizontal Scroll Bar does not show

    I have a method which creates a table with values and displays it in a dialog. However, the horizontal scroll bars do not appear, even though there is are columns that are not seen in the view. Here is my code:
         private void setTable()
              Object columns[] = headerLST.toArray(),
                        rows[][] = new Object[rowLST.size()][headerLST.size()];     
              for(int x = 0; x < rowLST.size(); x++)
                   java.util.List list1 = (java.util.List)rowLST.get(x);
                   for(int y = 0; y < list1.size(); y++)
                        rows[x][y] = (String)list1.get(y);     
              DefaultTableModel tValues = new DefaultTableModel(rows, columns);
    JTable tableA = new JTable(tValues);
         tableA.setRowHeight(27);
                   tableA.setRowSelectionAllowed(false);
                   tableA.setColumnSelectionAllowed(false);
                   tableA.setFont(new Font("Dialog", Font.BOLD, 12));
              int minColWidth = 120, maxColWidth = 200;
              for(int y = 0; y < tableA.getColumnCount(); y++)
                   TableColumn tbc = tableA.getColumnModel().getColumn(y);
                   tbc.setPreferredWidth(minColWidth);     
                   tbc.setMinWidth(minColWidth);
                   tbc.setMaxWidth(maxColWidth);
              scrollA = new JScrollPane(tableA);
              this.getContentPane().add(scrollA, BorderLayout.CENTER);
    Can someone tell me what I am missing?
    Thanks
    Augustine

    You need this
    tableA.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    otherwise it will always try and fit the table to the space available

  • Horizontal scroll bar in FF4.0 not working

    The horizontal scroll bar takes the full width of the window and doesn't allow to scroll left or right.
    Occurs only in FF4, page displays fine in FF3.x, IE, Chrome.
    try http://bajkionline.com/krecik.html

    I have removed FF4 and reinstalled FF3.6.16 and the search bar works fine - like it always did.
    Shame I cannot use FF4.
    Would you please let me know when a solution to this problem can be found? BTW I do have Copernic Desktop Search installed. When I installed FF4 I did get a message that the Copernic add-in was not compatible. Could this be a problem?

  • Some web sites do not display a horizontal scroll bar but IE does

    For example: http://shop.ghirardelli.com/category-exec/category_id/35/nm/Sale/?utm_source=chocomail&utm_medium=pos1_save10-30DL&utm_campaign=20111124

    That site uses CCS code (overflow-x:hidden) to hide the horizontal scroll bar.<br />
    It is also missing in Google Chrome.

  • Help with code for inserting horizontal scroll bar in photo gallery in Business Catalyst site?

    Hi,
    I am using Business Catalyst and Dreamweaver to create a trial site.
    I am not sure if this is the correct forum to post this request but anyway I have inserted a photo gallery module at the bottom of the sidebar in the homepage of my test site.
    Can anyone advise on whether jquery or any other code can be inserted into the page or module code that will replace the "next" hyperlink below the first 4 photos with a horizontal scroll bar at bottom of the gallery so users can just scroll through all 12 images ?
    Kind Regards, Matt.
    http://craftime-bs6.businesscatalyst.com/

    Alyssa,
    Have you tried putting this rule back as it was originally:
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
        left: auto; /*was 9px*/
        color: #EF9CCF;
        background-color: #FFF;
    That is, changing your 9px back to auto.
    And giving  us a link (as you did) is much better than printing out the code for us! Thanks!
    Beth

  • How to get the Horizontal Scroll Bar for a Table?

    Hi All,
    As per my requirement, I am displaying several records in a Screen in a Tabular Format. But here I have to show 21 Columns in that table which is too high. I am able to display it but due to it I am getting a Horizontal scroll bar for the whole screen since all the columns are not getting displayed in the normal window screen space. But its looking too odd since once I am scrolling it to right the columns are getting displayed but the above Header Bar and Global buttons are not displaying, they are bound to the normal screen space.
    Is there a way to have a Horizontal scroll bar only for that table instead of the entire screen so that on scrolling that bar only the table rows will beshifted ant got displayed?
    With Thanks
    Kumar Gautam

    try this approach.
    include a raw text item before and table item.
    include the appropriate HTML tags in raw text item to enable horizontal scroll
    --Prasanna                                                                                                                                                                                                                                                                                                                                   

  • How do I view the Horizontal Scrolling bar and status bar at the bottom of the screen. I can only see the top menus, toolbars and vertical scroll bar?

    Before the most recent upgrade, the bottom horizontal scrolling bar and status bar appeared on my screen. Now since upgrading, I cannot see the. Anyone ideas how to restore them?

    If you haven't already, you could force-quit Quicktime by using the menu option from the desktop (finder) and choose Quicktime.
    Not sure what you have frozen on the screen, be it a failed movie, or some unusual screen shot. If you can find by date (created) you may be able to look for .mov or quicktime suffix name or other video file content to delete it.
    And you may have to restart your computer and perhaps run repair disk permissions from Disk Utility's first aid on the hard disk drive in your computer.
    Not sure if all that would help now, but it is something a few days late...!
    Good luck & happy computing!

  • Horizontal Scroll Bar

    I have this site that I'm practicing on called
    Massattack Studios,
    it's been a work in progress for a while experimenting with Flash
    and Dreamweaver 8.
    In internet explorer my scroll bar situation works fine, in
    Fire Fox the unwanted horizontal scroll bar appears. At least at
    the moment I'm not concerned with other browsers. Can anybody tell
    me how to get rid of that little guy?
    I'm looking at the Validator and it is very overwealming to
    me as a beginner with the code.
    Any help would be great, i can post anything you may need to
    figure it out, thank you very much!
    This is my main index page...
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <title>Massattack Studios</title>
    <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    </head>
    <frameset cols="*,650,*" border="0">
    <frame src="left.htm" name="left" marginwidth="0"
    marginheight="0" scrolling=no>
    <frameset rows="100,*,25" border="0">
    <frame src="head.htm" name="head" marginwidth="0"
    marginheight="0" scrolling=no noresize>
    <frame src="home.htm" name="MainFrame" scrolling="yes"
    noresize="noresize" marginwidth="0" marginheight="0"
    id="MainFrame">
    <frame src="footer.htm" name="footer" marginwidth="0"
    marginheight="0" scrolling=no noresize>
    </frameset>
    <frame src="right.htm" name="right" marginwidth="0"
    marginheight="0" scrolling=no noresize>
    </frameset>
    <noframes><body>
    </body></noframes>
    </html>

    In the home.htm file that loads into your main frame, change
    the DOCTYPE.
    CHANGE:
    !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"
    TO THIS:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">BTW:
    "Bumbing" has no effect in the NNTP forums where most of the
    answers come
    from and it's just annoying to the web form user who are
    patiently waiting
    for a response.

  • How to make the knob of a horizontal Scroll Bar stay at right

    Hi I need some advise to achieve this:
    I have a chart continuously deploying towards the right side (think on an electro cardiogram that is continuously feeding data). All the chart information is kept available inside a JScrollPane. What I want to achieve is:
    1. if the horizontal scroll bar knob is at the right end of the scroll bar make the end part of the chart be displayed continuously (view is scrolling to the right, the knob stays at the right end)
    2. if the user moves the knob left from the right end freeze the motion and just show the selected portion (meanwhile data keeps being fed and stored but not displayed)
    3. when the user decides to drag the knob again to the right end the behavior of point # 1 resumes.
    The basic swing structure I'm using for this is the following:
    public class Electro extends JPanel {
    public Electro() {
    JFrame f = new JFrame();
    JScrollPane sp = new JScrollPane(this);
    f.getContentPane().add(sp);
         f.pack();
         f.setVisible(true);
    I would highly appreciate any feedback from fellow members. Thank you.

    hi friend
    try this in ur code
    public class Electro extends JPanel {
    public Electro() {
    JFrame f = new JFrame();
    JScrollPane sp = new JScrollPane(this);
    sp.setVerticalScrollBarPolicy(ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS);
    sp.setHorizontalScrollBarPolicy(ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
    f.getContentPane().add(sp);
    f.pack();
    f.setVisible(true);
    i think it will be help full to you
    thanks
    waiting for reply

Maybe you are looking for

  • Total and Subtotal for set_table_for_first_display

    Hello, I am displaying data in ALV by using set_table_for_first_display , i want to do_sum  for 10-15 columns starting from the column index 11.. and i have also passed the value in internal table of type LVC_T_SORT and in the fieldcatlog this fields

  • HT4910 how do I import a calendar from Outlook?

    I would like to import an outlook.com calendar into the iCloud calendar.  Can you help me? Thank you! Cheryl

  • Premiere Pro not starting up

    Premiere Pro CC is not even starting up. I very recently purchased the CC annual subscription and all the other apps are working fine except for premiere pro. It just wouldn't start up. A window comes up saying "Premiere pro has stopped working. Wind

  • App in a Snap

    Hello,  I trie to install the app in a snap template, but this does't work. I tried it on several computers, but with no result. Is there a way to get the template not as an exe-file to install? I would like to use this in my lessons at school, so i

  • I need help!!! effect help....

    I want to do an effect on final cut studio where you may have seen in some films where 1 man in the middle is walking normal pace and the people around are walking fast around him....does anyone have any idea? be very helpful please