[ADF-11.1.2] Setting Table "columnStretching" brings dummy scroll bar

I am facing a problem where in whenever I set "columnStretching" property of af:table component (which is inside panel collection), a dummy and ugly horizontal scroll bar appears on browser.
I am facing this issue at least with Google Chrome and Firefox.
Screenshot: [3 Screen shots uploaded|http://imageshack.us/g/651/withoutcolumnstretching.jpg/]
Is this an issue with ADF or in the way I am using it ?
Step to reproduce the issue:
1. DnD Panel Collection inside Panel Splitter
2. DnD Table insider Panel Collection OUTPUT : At this point everything is OK- SCREENSHOT1
3. Set columnStretching property of table to any valid value.
4. Run the page, at first, you may not find anything weird, OUTPUT: SCREENSHOT2
5. On browser, move the splitter to change the visual hight/width of table, you will notice a horizontal bar - SCREENSHOT3
Now, no matter what you do, you won't be able to come out of horizontal bar.
              <af:panelSplitter id="ps1" orientation="vertical">
                <f:facet name="first">
                  <af:panelCollection id="pc1">
                    <f:facet name="menus"/>
                    <f:facet name="toolbar"/>
                    <f:facet name="statusbar"/>
                    <af:table value="#{bindings.DepartmentsView1.collectionModel}"
                              var="row"
                              rows="#{bindings.DepartmentsView1.rangeSize}"
                              emptyText="#{bindings.DepartmentsView1.viewable ? 'No data to display.' : 'Access Denied.'}"
                              fetchSize="#{bindings.DepartmentsView1.rangeSize}"
                              rowBandingInterval="0"
                              selectedRowKeys="#{bindings.DepartmentsView1.collectionModel.selectedRow}"
                              selectionListener="#{bindings.DepartmentsView1.collectionModel.makeCurrent}"
                              rowSelection="single" id="t1"
                              columnStretching="column:c2">
                      <af:column sortProperty="#{bindings.DepartmentsView1.hints.DepartmentId.name}"
                                 sortable="false"
                                 headerText="#{bindings.DepartmentsView1.hints.DepartmentId.label}"
                                 id="c1">
                        <af:outputText value="#{row.DepartmentId}" id="ot1">
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.DepartmentsView1.hints.DepartmentId.format}"/>
                        </af:outputText>
                      </af:column>
                      <af:column sortProperty="#{bindings.DepartmentsView1.hints.DepartmentName.name}"
                                 sortable="false"
                                 headerText="#{bindings.DepartmentsView1.hints.DepartmentName.label}"
                                 id="c2">
                        <af:outputText value="#{row.DepartmentName}" id="ot2"/>
                      </af:column>
                      <af:column sortProperty="#{bindings.DepartmentsView1.hints.ManagerId.name}"
                                 sortable="false"
                                 headerText="#{bindings.DepartmentsView1.hints.ManagerId.label}"
                                 id="c3">
                        <af:outputText value="#{row.ManagerId}" id="ot3">
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.DepartmentsView1.hints.ManagerId.format}"/>
                        </af:outputText>
                      </af:column>
                      <af:column sortProperty="#{bindings.DepartmentsView1.hints.LocationId.name}"
                                 sortable="false"
                                 headerText="#{bindings.DepartmentsView1.hints.LocationId.label}"
                                 id="c4">
                        <af:selectOneChoice value="#{row.bindings.LocationId.inputValue}"
                                            label="#{row.bindings.LocationId.label}"
                                            required="#{bindings.DepartmentsView1.hints.LocationId.mandatory}"
                                            shortDesc="#{bindings.DepartmentsView1.hints.LocationId.tooltip}"
                                            readOnly="true" id="soc1">
                          <f:selectItems value="#{row.bindings.LocationId.items}"
                                         id="si1"/>
                        </af:selectOneChoice>
                      </af:column>
                      <af:column sortProperty="#{bindings.DepartmentsView1.hints.StreetAddress.name}"
                                 sortable="false"
                                 headerText="#{bindings.DepartmentsView1.hints.StreetAddress.label}"
                                 id="c5">
                        <af:outputText value="#{row.StreetAddress}" id="ot4"/>
                      </af:column>
                      <af:column sortProperty="#{bindings.DepartmentsView1.hints.LocationId1.name}"
                                 sortable="false"
                                 headerText="#{bindings.DepartmentsView1.hints.LocationId1.label}"
                                 id="c6">
                        <af:outputText value="#{row.LocationId1}" id="ot5">
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.DepartmentsView1.hints.LocationId1.format}"/>
                        </af:outputText>
                      </af:column>
                    </af:table>
                  </af:panelCollection>
                </f:facet>
                <f:facet name="second">
                  <af:panelBorderLayout id="pbl2">
                    <f:facet name="start"/>
                    <f:facet name="bottom"/>
                    <f:facet name="end"/>
                    <f:facet name="top"/>
                  </af:panelBorderLayout>
                </f:facet>
              </af:panelSplitter>
        Edited by: Anandsagar Sah on Aug 2, 2011 11:22 AM

Looks wired, but not sure if it's a bug.
The problem is the panel collection. Looks like the size is off a pixel after moving the splitter this triggers the stretch to recalc and as it somehow decides that is does not fit horizontal it shows the scroll bar.
You can get rid of the horizontal scroll bar in a couple of ways :
1. if you hide a column
2. if you show a hidden column
3. if you reorder the columns
4. if you trigger a ppr on the panel collection (I prefer this) e.g. put a button on the toolbar
5. refresh the whole page.
All solutions are based on the fact that the panelCollection recalculates it size during a ppr.
Timo

Similar Messages

  • Data Table Fixed rows and Scroll Bar

    Hi
    I have data table which displays the data dynamically, but when there is no data , the table is shrinking and moving the other elements of the page. Is there any way i can keep to fixed number of rows irrespective of data presence?
    Like i need to display only 10 rows at a time, if there are 7 rows in DB, i have t o display 7 rows containing data and rest as blank .
    If my data increases more than 10 rows how can i enable Scroll Bar Automatically on this?
    Thanks in advance.

    Then add empty row objects to the collection or datamodel which is been passed to the datatable value.

  • Freeze column headers in a table and enable vertical scroll bar on the rows

    I have seen demos of BI Publisher running an html view of a report that displays a table of data with a vertical scroll bar on the table. The table header is always visible as you scroll down on the rows of the table. Any idea how this is achievable?

    Hi,
    Have you find a way to do this? Im looking for the exact same thing!
    Where did you see this demo?
    Br
    Magnus

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • [ADF-11.1.2] Scroll bar Issues - Please file BUGs for these issues.

    Hello,
    Recently, I have started working on ADF and till now I found 2 scroll bar issues with Oracle ADF.
    1. af|inputComboboxListOfValues : Scroll bar appears on Google Chrome.
    Screenshot: http://imageshack.us/photo/my-images/829/inputcomboboxlistofvalu.jpg/
    2. Setting Table "columnStretching" brings dummy scroll bar : [ADF-11.1.2] Setting Table "columnStretching" brings dummy scroll bar
    I beleive that these two are scroll bar related Bugs but what I understand from ?messageID=9773962 that since I don't have support contract, I can't file a bug.
    I have created this thread so that responsible people can take actions accordingly.

    Shay,
    Thank you for your reply. I will take a look at your links.
    Use Case:
    Application will have different BC for different IT Assets (like Monitor, Keyboard, Servers etc), which will basically hold records for all available Assets (like Display Resolution, screen size etc for all monitor in Monitor BC).
    I want to give user; the ability to create, for e.g., the sub-class of Monitor to store more specific attribute-values in different table (which will be linked Parent BC). For e.g.: They may want to care about holding CRT and LCD Monitor records in separate new database table -- Application will ask user what all attributes/Columns they want to see for LCD which is specific to this type AND which is not present in already existing out-of-box Monitor BC/Table - e.g. - "Viewing Angle" Attribute).
    With that said, I can write code to create database table on fly (having 1-to-1 foreign key reference to parent table) but writing ADF part seems difficult. I also wanted application to automatically generate new page for newly added VO BC. E.g.: LCD-Monitor.JSPX inheriting all attributes from monitor (parent VO) in the same structure as Monitor.JSPX file is having with extra LCD-specific Attributes in separate panel tab (which again UI developers can customized it).
    Too much to expect huh !
    I am going to start building the application so If not above way, any other suggestion to achieve the requirement ?
    Edited by: Anandsagar Sah on Aug 29, 2011 9:23 PM

  • ADF - scroll bar in table.

    Hi
    I am using jdevloper 10.1.3.3
    I have to make scrollbar in table region.not in page level.please let me know.how to do that.
    please help me

    Hi,
    You could use the following to get scroll bars around your table. It may not be ideal as the scroll bar is for the entire table, so when you scroll your headers will also scroll.
    You will need to hard code your height, and set some margin for vertical scroll bar in IE (thats why the 98% width!). But atleast its better than nothing..
    <af:table width="98%" id="xx" ...
    inlineStyle="overflow-x: hidden; overflow-y: auto;height: 450px;"
    rows="15">
    </af:table>
    HTH
    Jaimon

  • ADF Calendar : scroll bar in specific date

    Dear all,
    By default, the ADF calendar component displays many events found in a specif day as "+2 more", "+3 more" or "+X more" . . . . and as we click on the link, we view them in the day view.
    Is there any way to display all the events under the same day and view them by using a scroll-bar found inside the day square space? I need to view all events without going to the day view
    I need to view all events found on a specific day to be able to drag and drop it to any day directly on the Month view
    Thanks in advance

    Hi,
    You could use the following to get scroll bars around your table. It may not be ideal as the scroll bar is for the entire table, so when you scroll your headers will also scroll.
    You will need to hard code your height, and set some margin for vertical scroll bar in IE (thats why the 98% width!). But atleast its better than nothing..
    <af:table width="98%" id="xx" ...
    inlineStyle="overflow-x: hidden; overflow-y: auto;height: 450px;"
    rows="15">
    </af:table>
    HTH
    Jaimon

  • Remove vertical scroll bar from table control

    hi,
    i had used table control in my application. i want remove vertical scroll bar from table control.
    At initial time in table control there is no vertical scroll bar. In my table control lines are dependent on internal table which i was used to fill it.
    i was used these code for to set table control lines.
    DESCRIBE TABLE IT_RISK_ZINRISEXC LINES EXC_LINE.
    TC_RISK_EX-LINES =   EXC_LINE .
    Initially there is no data in internal table so there is no vertical scroll bar. After getting value i am filling internal table. and there is scroll bar in my table control. but i does not want that.
    i was not selected RESIZING-VERTICAL OR -HORIZONTAL.

    Hi,
    From Scroll Bars in Table Control
    You can remove the scroll bar in the table control by switching off horizontal and vertical scrolling in the properties of the table control. The properties can be accessed from the screen painter by double clicking on the table control. Regarding the page up and page down functions, I believe you add those buttons in the screen layout and code for them. You can use the standard function code for the page up and page down functions.
    or
    You can get rid of the vertical scroll bars by not setting table control lines. This way the user can only see the visible lines of the table control. As for the horizontal scrollbar, just make sure that your table control doesn't contain too many fields.
    Regards,
    Raj.

  • Scroll bar in table control without wizard

    Dear All,
    I have made a module pool program for gate pass. In which i have taken a TABLE CONTROL WITHOUT WIZARD. Now my problem is , the table control does not have the SCROLL BAR  functionality. It is not showing the scroll bar also. So can any one of you can help with the code that i can use to bring that scroll bar.
    Table control is without wizard.
    Thanks & Regards
    Vijju

    Hi,
    In PBO module write the code as,
        data:  fill TYPE i.
        DESCRIBE TABLE itab LINES fill.
      flights-lines = fill.
       Flights is the table control name in screen and itab is the internal table name.
    Regards
    Haritha
    Edited by: Haritha Teegala on Jan 6, 2012 7:53 AM

  • How can we remove the scroll bars from the table?

    Hi,
    I have a dynamic table. Currently the table appears with the scroll bars. But there is a requirement that the scroll bar should not appear and the table should stretch in the entire page. How can this be achieved.
    Thanks in advance
    Nita

    Thanks Mohammad for the reply.
    Was able to remove the scroll bars by using only the styleClass as AFStretchWidth. But there is a default partition in middle of the page still? Can i remove that too by any way.

  • Vertical scroll bar for the table

    Hi,
    I have a table which will contain more than 100 rows. First Visible rows will be 10.
    i want a vertical scroll bar for the table, so that i can see all the rows using vertical scroll bar. While scrolling down, the header row, which contain names of the column should be static (ie visible even scroll down) and the footer of the table should be visible even goes up.
    If I use Scroll container, it will take whole table and the header row, row with name of column will move up invisible when i scroll down. So it is not useful if i use scroll contatiner.
    I need a fnctionality were table has a vertical scroll bar to it.
    Thanks
    Maha

    Hi,
    Your requirement is one of the default properties of the Table UI element in NWDS CE version.
    Regards,
    Alka.

  • ADF Faces - ConvertNumber, aligning in table column

    Is there a way in ADF Faces to display a table with a column of currency figures, with possible trailing sign for negatives, aligned on the decimal point? With a total at the bottom? These seem like such elementary requirements, but I can find no reference to them in the documentation. ConvertNumber javadocs mentions a pattern property, but no details of what constitutes a pattern.
    Any help gratefully received.

    Hi,
    drag and drop the ConvertNumber component and double click on it in the StructureWindow of the page (strl+shift+s). This brings up a dialog that provides help when moving the mouse over the labels
    As a pattern try e.g. 0000.00
    The currency can be specified in the last field as the type. The symol can be expressed as a character $ or in ISO format USD
    There is no native component to compute the total, but since the table shows the values in page ranges, you can add a output field and compute this information in a backing bean
    Frank

  • ADF Query Panel with Tree Table -- Add Fields

    I created ADF Query Panel with Tree Table using JDeveloper 11G. Under Advance Search, Add Fields pull down only list the fields in the master table. My questions are,
    1) Can I search fields in detail table? If yes, how can I do it?
    2) How can I customized this pull down list? Currently it just show the entire view of master table with unnecessary id type data.
    Thanks in advance.
    Edited by: kxc on Nov 9, 2009 9:21 AM

    1) Can I search fields in detail table? If yes, how can I do it?
    Are there anyway to search the second level node?You can. But you need to evaluate if the arrangement works for you.
    I assume you have a view link from the master to detail VO.
    To do so, in your master view criteria (the one which you use in the query panel), shuttle the attributes of your detail VO (in master attributes list, you'l see the detail view link accessor - on selecting this, the detail atteributes are available to you)
    In the Add Fields, it shows as student_id AND student_name. I was unable to delete the student_id field in the view since it is PKYou can set its 'display' UI hint to 'hide' in your VO.

  • JBO 29114 ADF context is not set up to process messages

    Hi,
    I have created a Rest web service and hosted it on my own IP address..
    I am trying to create a mobile application using the URL data control for the rest service created.
    I get the below error when I do so:
    *"JBO 29114 ADF context is not set to process messages for this exception.Root cause error code is DCA - 50000."*
    The jdev version I am using is 11.1.2.3 and I have created it successfully in Jdev 11.1.1.4.
    Also I have set proxy settings in my HTTP Analyzer and 'Web Browser and Proxy Settings'.
    The proxy seems to work fine and also I have tested the rest service.It seems to be ok.
    Please advice on the error msg.
    Thanks in advance,
    Malathy.

    Malathy,
    as you use a version which is not available to the public (us) I assume that you are an Oracle employee. In this case you should ask this on an internal forum.
    Timo

  • Unable to set  size and scroll bar to table components in visual web jsf

    Hi Friends,
    Good day all of you,
    my requirement is to display multible tables in the same jsp page with same size.
    if some tables have more columns than other tables then that table need horizontal scroll bar...

    Hi BalusC,
    Good day,
    we didn't use any CSS sheets.is there any other way to set.

Maybe you are looking for

  • COLOR LASERJET ENTERPRISE M750 - Smartphone set up

    Hello, i am trying to set up the office with priting from phones to the printed but the option for the printer is not availble on the website  https://h30495.www3.hp.com/?jumpid=LES anyone know if you need to select a different printer or if it doesn

  • Loading 7.1.1 error message -  "detected problem with audio configuration"

    I have deleted Quicktime and reloaded iTunes and keep getting the same error message about the problem with the audio configuration. I have removed iTunes completely and re-installed it and still get the same message. I have used the Windows cleaner

  • I cannot sync anything to my ipod touch

    Today I purchased at 32gb ipod touch. However, when putting it into my computer it came up with: "device is not connected" and "disk cannot be read" I have changed both the cables i use and the USB ports but my problem does not seem to go away. i hav

  • THIRD PARTY ORDERING

    HI SAP GURUS CAN ANY ONE HELP ME OUT 1.     WHAT IS THIRD PARTY ORDERING? HOW WE CONFIGURE THIRD PARTY ORDERING ?  DOES DELIVERY OCCURS IN THIRD PARTY ORDERING? WHEN 2.     IF I HAVE GOT 4PLANTS HTEN HOW MANY BILLING CAN BE DONE? 3. AFTER PGI WHAT HA

  • Techtool Deluxe don't works with Mac OS X 10.7.x Lion...

    Hello, i have installed Mac OS X Lion on my iMac from Late 2009 and buy it with Apple Care Protection here in Germany. The Progam Techtool Pro does not work under Lion. Installing succesfull and display when starting an Error-Message (Techtool Deluxe