Avoid table's horizontal scroll bar

I have an ADF table (<af:table>) with predetermined width and height. The table displays couple of rows, without any horizontal and vertical scroll bar. We have an option to add new rows to the table. After adding few more rows, if the number of rows exceeds the height of the table, both the horizontal and vertical scroll bar of the table appears.
Do we have an option to display only the vertical bar without the horizontal scroll bar?

Hi,
are you using JDeveloper 11 ? Must be because 10.1.3 doesn't know of scrollbars, unless you mean browser bars.
In 11, when the vertical scrollbar is added, it takes from the horizontal space and if there isn't enough left, horizontal scrollbars are shown. So just make sure you add enough space for the table and the scrollbars should not display. There is no property to hide them.
Frank

Similar Messages

  • 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                                                                                                                                                                                                                                                                                                                                   

  • Horizontal Scroll bar in a web table

    Guys,
      is it possible to have horizontal scroll bar in webtable , not like the webtable propery for each column.
      just i want drag a scroll like blanket in webtable like in internet explorer.
      will assing full points for fix.
    Thanks
    Shan

    Hi Shan,
    The problem is not clear, but if you are talking about a table web item within Web Application Designer then there is a property for the number of columns to be displayed per page. Just set that property to an appropriate number. Remember while setting the property that it applies only to key figures and not characteristics. So if you set it to say 5 - it will display the horizontal scroll option if you have more than 5 key figures in your table.
    If you do not want the SAP default scroll bar then set this property to a sufficiently high number so that the table is not broken up - in this case you will get the default internet explorer based scroll bar since the table will not fit in a single screen.
    Hope it helps,
    Regards,
    Nikhil

  • Urgent!!!!Add a Horizontal Scroll Bar for Table Control

    Hi Experts,
    I want to have a Horizontal Scroll Bar on my Table control.
    I tried with few properties for the Table UI Element but not able to solve it.
    If any one who had already done this please help me out.
    Thanks in advance..
    Regards, Kishore K

    HI Koen,
    Thanks for early Reply.
    When I use this I get
    Page Down ( ->!!, Arrown with lines pointing Down)
    Page UP
    Page Top    ( ->, Arrown with lines pointing Top)
    Page Down ( ->, Arrown with lines pointing Down)
    But I need only Page top and Page down for this Table UI .
    I think my question is clear enough.
    Please let me know this also.
    Thanks & Regards,
    Kishore K

  • Visual Composer table horizontal scroll bar

    Hi Experts,
    is it possible to have horizontal scroll bar in visual composer iview?
    is it possible to lock initial n columns from scroll in VC iview?
    if possible the pls tell how?
    Thanks in advance
    Anupam

    Hi Anupam..
    The below info may helps you .......
    Visual Composer produces applications in a declarative form, thereby enabling completely code-free execution mode for multiple runtime environments. It provides full application lifecycle support by maintaining the connection between an application and its model throughout its lifecycle. Visual Composer is designed with an open architecture, which enables developers to extend its design-time environment and modeling language, as well as to integrate external data services.
    As a result, Visual Composer modelers increase productivity by reducing their development effort time from weeks and months to days. Domain experts gain the means to express their requirements directly rather than conveying them to developers. This narrows the gap between application definition and implementation.
    Starting with a blank canvas, the Visual Composer user draws the application in Visual Composer Storyboard (workspace), without writing a single line of code. Since no traditional programming skills are needed, business process experts can prototype, design and produce entire applications.
    A typical workflow for creating, deploying and running an application using Visual Composer is:
    Create a model
    Discover data services and add them to the model
    Select necessary UI elements and add them to the model
    Connect model elements to define the model logic and data flow
    Edit the layout
    Arranging the UI elements and the controls of the application on forms and tables.
    Deploy the model
    This step includes compilation, validation and deployment to a selected environment.
    Run the application
    The application can run using different runtime environment (such as Adobe Flex and HTML)
    Modeling Business Intelligence Data with Visual Composer - Part I
    Modeling Business Intelligence Data with Visual Composer - Part II
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/4a7e40417c6d1de10000000a1550b0/frameset.htm
    http://help.sap.com/download/netweaver/nw04/visualcomposer/VC_60_SolManGuide.pdf
    Creating Model:
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/4a7e40417c6d1de10000000a1550b0/frameset.htm
    Creating Portal Content:
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/4a7e40417c6d1de10000000a1550b0/frameset.htm
    Customizing VC toolbar:
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/4a7e40417c6d1de10000000a1550b0/frameset.htm
    Regards
    Sudheer

  • How to have a table with a horizontal scroll bar

    Hi All,
    I need to develop a page in which i have around 15 columns in a table to display in a table format.The requirement also says that after the first 4 columns ,all the remaining columns in the table should have a horizontal scroll bar,so that the user can see the remaining columns as required by scrolling horizontally in the table.
    Is this possible to do in OAF and if yes how?
    I created a table region with 15 columns but i am getting a horizontal scroll bar on the page but not on the table.Please kindly suggest .
    Thanks in advance.

    Sumit,
    I guess the functionality they are looking for here is similar to freezeing of some columns in excel sheets. This makes the initial columns as it is and rest of the columns have scrolling enabled. This is useful in scenario where there are a large number of columns and while looking at last columns, you will probably like to see the first couple of column data as well to map to see which id or user it belongs to. Just a useability case :-)
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • JTabel Horizontal scroll bar problem

    Hi,
    I want a horizontal scroll bar added to my table
    hence I do this
    table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
    but the problem is If I increase the size of frame
    the cells do not resize hence there is a gap after
    the last column.
    How do I remove this gap

    Please reduce the container size in the screen thru SE51 that automatically create the scroll
    or check whether in the attributes of the screen "Hold scroll positio" not to be checked

  • No horizontal scroll bar on the Jtable. In order to see long column.....

    No horizontal scroll bar on the tJable.
    In order to see long cell data we have to eliminate other columns of the table.
    I need an horizontal scroll bar on the JTable if the data in a cell is longer.
    Could somebody help me out?
    Thanks in advance.

    in the jtable use following method :
    myTable.setAutoResizeMode(this.AUTO_RESIZE_OFF);
    KR,
    Jan

  • Horizontal Scroll Bar Disappeared in Web Report(BW 7)

    Hi All,
    We have just upgraded one of our Developement BW system from 3.5 to Netweaver 2004s, with support pack 7.
    After running our query in Web, we have found that all our reports has no horizontal scroll bar to display the query column. This  in turn pushes the corresponding Chart to theleft extreme of the viewing area.  
    I have tried to reset the web item properities of the table , but no help.                                                 I have compared the web item properities for the  table in the system where upgrade has not been applied yet. It is same.Scoll bar does appear in BW system where there is no upgrade.
    I have searched the OSS for answer, but did not find any answer.
    Did anybody face this issue after upgrade to BIW 7 ?
    Our WAD is ver. 3.5 Final release.
    Your response is highly appreciated .

    Here is the code
    Classes for paging area *******/      
    .SAPBEXScrollVert     {
         font-family:Arial,sans-serif;
         background-color:#ffffff;
         color:#000000;
         font-style:normal;
         font-weight:normal;
         font-size:71%;               
         text-align:left;
         margin:0 1px 0 1px;
         padding:1px 3px 1px 3px;
    .SAPBEXScrollHor     {
         font-family:Arial,sans-serif;
         background-color:#ffffff;
         color:#000000;
         font-style:normal;
         font-weight:normal;
         font-size:71%;               
         text-align:right;
         margin:0 1px 0 1px;
         padding:1px 3px 1px 3px;

  • Horizontal scroll bar for the adf page

    Hi,
    We have around 7 tables in single jsff page. Here , we have a requirement like :
    We need to show horizontal scroll bar for the entire page instead of each table. Is there any way to get this.
    As of now, we have horizontal scroll bar for each table, but our customer is not accepting this, that want the scroll bar for the entire page.
    Please suggest the approach.
    Thanks

    I have grouped all the tables in panelgrouplayout.So, what is the problem (because it is not quite clear what you need)?
    If your PanelGroupLayout is with layout="horizontal", then the tables will be rendered next to each other horizontally but there will be no horizontal scrollbar on the page.
    If your PanelGroupLayout is with layout="scroll", then the tables will be next to each other vertically and there will be a horizontal and a vertical scrollbar on the page (if necessary).
    If you need your tables to be relocated next to each other horizontally and to have a horizontal scrollbar on the page, then use a PanelGroupLayouts(horizontal) inside a PanelGroupLayout(scroll):
    <af:panelGroupLayout layout="scroll">
      <af:panelGroupLayout layout="horizontal">
        <af:table> ... </af:table>
        <af:table> ... </af:table>
        <af:table> ... </af:table>
      </af:panelGroupLayout>
    </af:panelGroupLayout>If your problem is that you still have horizontal scrollbars inside the tables, then you should set appropriate widths to the corresponding tables (e.g. to <af:table> tags) such that they are large enough to fit the sum of corresponding column widths.
    ya, I know that its not god design, but its customer requirement, so we need to do that.If you expect some table(s) to be stretched automatically according to the size of browser's window, then you should re-think your UI design because PanelGroupLayouts do not stretch their children. A possible solution is to use a combination of PanelSplitters or other layout containers that stretch their children.
    Dimitar

  • 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">

  • Horizontal scroll bar in OAF

    HI All,
    I have a requirement to display the table columns through horizontal scroll bar in OAF. please help me on this
    Regards
    Deb

    Deb,
    Check this http://mukx.blogspot.com/2009/12/scrolling-table-table-with-horizontal.html
    hope this will help you.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • 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 at top in JScrollPane

    Hi,
    How can i get the horizontal scroll bar to be on the top instead of bottom
    here is my code
    TableModel tableModel = new TableModel(totalData,
    columnHeader);
    JTable table = new JTable(tableModel);
    JScrollPane scrollPane = new JScrollPane(table);
    Ashish

    Hi Ash
    I dont know whether this is feasible please sorry if i am wrong.
    Create a JPanel and add scroll bar to the left and top.
    I have posted a Q in the subject JDialog Esc Key. please answer the Q for me.
    Lakshmi.

  • Horizontal scroll bar in OAF screen flexible layout

    Hi Gurus,
    We have developed an OAF screen using flexible layout. Currently we have two tabs showing in the same window. We are unable to increase the number of columns in the result table of the flexible layout as there is no horizontally scroll bar getting added dynamically.
    Please let me know any pointers on this.
    Thanks in Advance.
    Thanks & Regards,
    Nagesh.

    Tapash,
    I hope ur talking about this thread:
    Page Scrolling
    User did it in JTF i.e. jsp not in OAF, thats' what I was thinking, because OAF does not provide js api's for OATableBean, unless I create my own custom table , like we do in jsp.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Starts to boot, shows Apple logo for 2+ minutes, then starts again

    Yesterday the computer started to boot up as usual with the 'boot chord', Apple logo, then the screen went black, and started over again.  This time it successfully booted and ran normally for the rest of the day.  This morning, it never gets beyond

  • Creating Info-Package Groups

    Hi All, We are running a Job through Process chain. But due to some bug it is taking 4 Hrs to complete. We tried executing the Info-Packages manually. It completed with in 30 Mins. So we are planning to create IP group to trigger that Job instead of

  • Can we hide the lines between the columns and rows of an alv in wd abap

    HI all ,   I know that we can colour cell/column/row in an alv in wd abap.    but, can we hide the lines between the columns and rows of an alv in wd abap.      i have checked this link [hiding lines b/n rows and columns of an  alv|http://help.sap.co

  • Cannot publish to google calendars

    Hello and thanks in advance for any help you can offer. Ok, I tried publishing my iCal to a new Google Calendar they set up in our office (I'm the only one with a mac, the rest are on PC's). I went to Google, selected the calendar, found the URL addr

  • Calculating color percentages

    I've designed a terrazzo floor using Freehand. My terrazzo contractor needs to know the percentage of each color I've used so he can order the right amount of material. Is there a function that will show me what percentage of each color I've used in