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.

Similar Messages

  • Table with fixed header and scroll bar

    Was able to use Dreamweaver 2004 to set up a table to display
    data from a MySQL table. But then the customer wanted to have a
    scroll bar on one side and fixed headers at the top "like Excel",
    because the number of rows retrieved were too long to fit on a
    page. This was harder than I thought. I had to use CSS and
    Javascript with a lot of help to make this happen. Then it didn't
    work in IE7, so I had to use a different approach for IE. I got it
    to almost work perfectly in IE7. It just has a tiny bit of the
    table visible scrolling by above the header rows.
    http://www.ykfp.org/php/lyletrap/tabletotalscss13.php
    Why does Microsoft make this so difficult? Why aren't web standards
    good enough for Microsoft? Is there a better approach to tables
    with scroll bars?

    When things go sour in any browser, validate your code.  I see you have some unclosed <table> tags which could effect page rendering.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.ykfp.org%2Fphp%2Flyletrap%2Ft abletotalscss09.php
    If you still have problems with IE8 after fixing the code errors, try adding this meta tag to your <head>.  It forces IE8 into IE7 mode.
    <meta http-equiv="X-UA-Compatible" content="IE=7">
    Hope that helps,
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • JTable can't display column names and scroll bar in JDialog !!

    Dear All ,
    My flow of program is JFrame call JDialog.
    dialogCopy = new dialogCopyBay(frame, "Bay Name Define", true, Integer.parseInt(txtSourceBay.getText()) ,proVsl ,300 ,300);
    dialogCopy.setBounds(0, 0, 300, 300);
    dialogCopy.setVisible(true);        Then,I set the datasource of JTable is from a TableModel.
    It's wild that JTable can diplay the data without column names and scroll bar.
    I have no idea what's going wrong.Cause I follow the Sun Tutorial to code.
    Here with the code of my JDialog.
    Thanks & Best Regards
    package com.whl.panel;
    import com.whl.vslEditor.vslDefine;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.Frame;
    import javax.swing.JDialog;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.table.AbstractTableModel;
    public class dialogCopyBay extends JDialog {
        vslDefine glbVslDefine;
        int lvCnt = -1;
        JTable tableCopyBay;
        int bgnX = 0;
        int bgnY = 30;
        int tableWidth = 100;
        int tableHeight = 100;
        public dialogCopyBay(Frame frame, String title, boolean modal, int sourceBay,
                vslDefine pVslDefine, int ttlWidth, int ttlHeight) {
            super(frame, title, true);
            Container contentPane = getContentPane();
            System.out.println("dialogCopyBay Constructor");
            glbVslDefine = null;
            glbVslDefine = pVslDefine;
            copyBayModel copyBay = new copyBayModel((glbVslDefine.getVslBayStructure().length - 1),sourceBay);
            tableCopyBay = new JTable(copyBay);
            tableCopyBay.setPreferredScrollableViewportSize(new Dimension(tableWidth, tableHeight));
            JScrollPane scrollPane = new JScrollPane(tableCopyBay);
            scrollPane.setViewportView(tableCopyBay) ;
            tableCopyBay.setFillsViewportHeight(true);
            tableCopyBay.setBounds(bgnX, bgnY, tableWidth, tableHeight);
            tableCopyBay.setBounds(10, 10, 100, 200) ;
            contentPane.setLayout(null);
            contentPane.add(scrollPane);
            contentPane.add(tableCopyBay);
        class copyBayModel extends AbstractTableModel {
            String[] columnNames;
            Object[][] dataTarget;
            public copyBayModel(int rowNum ,int pSourceBay) {
                columnNames = new String[]{"Choose", "Bay Name"};
                dataTarget = new Object[rowNum][2];
                for (int i = 0; i <= glbVslDefine.getVslBayStructure().length - 1; i++) {
                    if (pSourceBay != glbVslDefine.getVslBayStructure().getBayName() &&
    glbVslDefine.getVslBayStructure()[i].getIsSuperStructure() == 'N') {
    lvCnt = lvCnt + 1;
    dataTarget[lvCnt][0] = false;
    dataTarget[lvCnt][1] = glbVslDefine.getVslBayStructure()[i].getBayName();
    System.out.println("lvCnt=" + lvCnt + ",BayName=" + glbVslDefine.getVslBayStructure()[i].getBayName());
    public int getRowCount() {
    return dataTarget.length;
    public int getColumnCount() {
    return columnNames.length;
    public String getColumnName(int col) {
    return columnNames[col];
    public Object getValueAt(int rowIndex, int columnIndex) {
    return dataTarget[rowIndex][columnIndex];
    public Class getColumnClass(int c) {
    return getValueAt(0, c).getClass();
    public boolean isCellEditable(int row, int col) {
    if (col == 1) {
    // Bay Name Not Allow To modify
    return false;
    } else {
    return true;
    public void setValueAt(Object value, int row, int col) {
    dataTarget[row][col] = value;
    fireTableCellUpdated(row, col);

    Dear DB ,
    I am not sure what you mean.
    Currently,I don't undestand which code is error.
    And I also saw some example is add JTable and JScrollPane in JDialog.
    Like Below examle in Sun tutorial
    public class ListDialog extends JDialog implements MouseListener, MouseMotionListener{
        private static ListDialog dialog;
        private static String value = "";
        private JList list;
        public static void initialize(Component comp,
                String[] possibleValues,
                String title,
                String labelText) {
            Frame frame = JOptionPane.getFrameForComponent(comp);
            dialog = new ListDialog(frame, possibleValues,
                    title, labelText);
         * Show the initialized dialog. The first argument should
         * be null if you want the dialog to come up in the center
         * of the screen. Otherwise, the argument should be the
         * component on top of which the dialog should appear.
        public static String showDialog(Component comp, String initialValue) {
            if (dialog != null) {
                dialog.setValue(initialValue);
                dialog.setLocationRelativeTo(comp);
                dialog.setVisible(true);
            } else {
                System.err.println("ListDialog requires you to call initialize " + "before calling showDialog.");
            return value;
        private void setValue(String newValue) {
            value = newValue;
            list.setSelectedValue(value, true);
        private ListDialog(Frame frame, Object[] data, String title,
                String labelText) {
            super(frame, title, true);
    //buttons
            JButton cancelButton = new JButton("Cancel");
            final JButton setButton = new JButton("Set");
            cancelButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ListDialog.dialog.setVisible(false);
            setButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    ListDialog.value = (String) (list.getSelectedValue());
                    ListDialog.dialog.setVisible(false);
            getRootPane().setDefaultButton(setButton);
    //main part of the dialog
            list = new JList(data);
            list.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
            list.addMouseListener(new MouseAdapter() {
                public void mouseClicked(MouseEvent e) {
                    if (e.getClickCount() == 2) {
                        setButton.doClick();
            JScrollPane listScroller = new JScrollPane(list);
            listScroller.setPreferredSize(new Dimension(250, 80));
    //XXX: Must do the following, too, or else the scroller thinks
    //XXX: it's taller than it is:
            listScroller.setMinimumSize(new Dimension(250, 80));
            listScroller.setAlignmentX(LEFT_ALIGNMENT);
    //Create a container so that we can add a title around
    //the scroll pane. Can't add a title directly to the
    //scroll pane because its background would be white.
    //Lay out the label and scroll pane from top to button.
            JPanel listPane = new JPanel();
            listPane.setLayout(new BoxLayout(listPane, BoxLayout.Y_AXIS));
            JLabel label = new JLabel(labelText);
            label.setLabelFor(list);
            listPane.add(label);
            listPane.add(Box.createRigidArea(new Dimension(0, 5)));
            listPane.add(listScroller);
            listPane.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
    //Lay out the buttons from left to right.
            JPanel buttonPane = new JPanel();
            buttonPane.setLayout(new BoxLayout(buttonPane, BoxLayout.X_AXIS));
            buttonPane.setBorder(BorderFactory.createEmptyBorder(0, 10, 10, 10));
            buttonPane.add(Box.createHorizontalGlue());
            buttonPane.add(cancelButton);
            buttonPane.add(Box.createRigidArea(new Dimension(10, 0)));
            buttonPane.add(setButton);
    //Put everything together, using the content pane's BorderLayout.
            Container contentPane = getContentPane();
            contentPane.add(listPane, BorderLayout.CENTER);
            contentPane.add(buttonPane, BorderLayout.SOUTH);
            pack();
        public void mouseClicked(MouseEvent e) {
            System.out.println("Mouse Click");
        public void mousePressed(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseReleased(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseEntered(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseExited(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseDragged(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
        public void mouseMoved(MouseEvent e) {
            throw new UnsupportedOperationException("Not supported yet.");
         * This is here so that you can view ListDialog even if you
         * haven't written the code to include it in a program.
    }

  • JTable fixed Row and Column in the same window

    Hi
    Could anyone tip me how to make fixed row and column in the same table(s).
    I know how to make column fixed and row, tried to combine them but it didnt look pretty.
    Can anyone give me a tip?
    Thanks! :)

    Got it to work!
    heres the kod.. nothing beautiful, didnt clean it up.
    * NewClass.java
    * Created on den 29 november 2007, 12:51
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package tablevectortest;
    * @author Sockan
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import javax.swing.event.*;
    public class FixedRowCol extends JFrame {
      Object[][] data;
      Object[] column;
      JTable fixedTable,table,fixedColTable,fixedTopmodelTable;
      private int FIXED_NUM = 16;
      public FixedRowCol() {
        super( "Fixed Row Example" );
        data =  new Object[][]{
            {      "","A","A","A","",""},
            {      "a","b","","","",""},
            {      "a","","c","","",""},
            {      "","","","d","",""},
            {      "","","","","e",""},
            {      "","","","","","f"},
            {      "","b","","","",""},
            {      "","","c","","",""},
            {      "","","","d","",""},
            {      "","","","","e",""},
            {      "","b","","","",""},
            {      "","","c","","",""},
            {      "","","","d","",""},
            {      "","","","","e",""},
            {      "","","","","","f"},
            {      "I","","W","G","A",""}};
        column = new Object[]{"A","B","C","D","E","F"};
        AbstractTableModel fixedColModel = new AbstractTableModel() {
          public int getColumnCount() {
            return 1;
          public int getRowCount() {
            return data.length;
          public String getColumnName(int col) {
            return (String) column[col];
          public Object getValueAt(int row, int col) {
            return data[row][col];
          public boolean CellEditable(int row, int col) {
            return true;
        AbstractTableModel    model = new AbstractTableModel() {
          public int getColumnCount() { return column.length-2; }
          public int getRowCount() { return data.length - FIXED_NUM; }
          public String getColumnName(int col) {
           return (String)column[col+1];
          public Object getValueAt(int row, int col) {
            return data[row][col+1];
          public void setValueAt(Object obj, int row, int col) {
            data[row][col+1] = obj;
          public boolean CellEditable(int row, int col) {
            return true;
        AbstractTableModel fixedTopModel = new AbstractTableModel() {
          public int getColumnCount() { return 1; }
          public int getRowCount() { return data.length - FIXED_NUM; }
          public String getColumnName(int col) {
           return (String)column[col];
          public Object getValueAt(int row, int col) {
            return data[row][col];
          public void setValueAt(Object obj, int row, int col) {
            data[row][col] = obj;
          public boolean CellEditable(int row, int col) {
            return true;
        AbstractTableModel fixedModel = new AbstractTableModel() {     
          public int getColumnCount() { return column.length-2; }
          public int getRowCount() { return FIXED_NUM; }
          public Object getValueAt(int row, int col) {
            return data[row + (data.length - FIXED_NUM)][col+1];
        table = new JTable( model );
        table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        fixedTable = new JTable( fixedModel );
        fixedTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        fixedTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        fixedColTable= new JTable(fixedColModel);
        fixedColTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        fixedColTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
        fixedTopmodelTable = new JTable(fixedTopModel);
        fixedTopmodelTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        fixedTopmodelTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);   
        JScrollPane scroll      = new JScrollPane( table );
         scroll.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
         scroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
        JScrollPane fixedScroll = new JScrollPane( fixedTable ) {
          public void setColumnHeaderView(Component view) {}
        fixedScroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
        fixedScroll.setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_ALWAYS);
        JScrollBar bar = scroll.getVerticalScrollBar();
        JScrollBar dummyBar = new JScrollBar() {
          public void paint(Graphics g) {}
        dummyBar.setPreferredSize(bar.getPreferredSize());
        scroll.setVerticalScrollBar(dummyBar);
        final JScrollBar bar1 = scroll.getHorizontalScrollBar();
        JScrollBar bar2 = fixedScroll.getHorizontalScrollBar();
        bar2.addAdjustmentListener(new AdjustmentListener() {
          public void adjustmentValueChanged(AdjustmentEvent e) {
            bar1.setValue(e.getValue());
        JViewport viewport = new JViewport();
        viewport.setView(fixedColTable);
        viewport.setPreferredSize(fixedColTable.getPreferredSize());
        fixedScroll.setRowHeaderView(viewport);
        fixedScroll.setCorner(JScrollPane.UPPER_LEFT_CORNER, fixedColTable
            .getTableHeader());   
        JViewport viewport2 = new JViewport();
        viewport2.setView(fixedTopmodelTable);
        viewport2.setPreferredSize(fixedTopmodelTable.getPreferredSize());
        scroll.setRowHeaderView(viewport2);
        scroll.setCorner(JScrollPane.UPPER_LEFT_CORNER, fixedTopmodelTable
            .getTableHeader()); 
        scroll.setPreferredSize(new Dimension(600, 19));
        fixedScroll.setPreferredSize(new Dimension(600, 100)); 
        getContentPane().add(     scroll, BorderLayout.NORTH);
        getContentPane().add(fixedScroll, BorderLayout.CENTER);   
      public static void main(String[] args) {
        FixedRowCol frame = new FixedRowCol();
        frame.addWindowListener( new WindowAdapter() {
          public void windowClosing( WindowEvent e ) {
            System.exit(0);
        frame.pack();
        frame.setVisible(true);
    }

  • Problem in Drill Down feature and Scroll Bar

    Hi All,
    Well I have designed a report on Oracle BI and facing the following issues:
    1. When i opened the report through image/link box(from mypage dashboard or from some other way) and if the data have enough rows and columns to overflow the screen size then there is no scroll bar on the screen so i wouldn't be able to see that data.
    2. When I am clicking on the year(as i made a time hierarchy --> year then quater then month) on the either pivot table or chart view then automatically all corresponding Dashboard Prompts(DP) disappear so i can't filter the data.
    Please help me out in this.
    thanks in advance.
    regards
    mohit

    Regarding 2)
    This is the expected behavior of drill downs. The subsequent reports from the highest level are "system-generated." If you want the prompts, you will have to use the Navigate feature and navigate to a dashboard where you can have your prompts.
    Regarding 1)
    Are you using the Table View or Pivot Table view? If Table View, you can increase the number of rows that are visible by default (change this in the Properties of the Table View.) If you are using a Pivot Table, try this link:
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-pagination-in-pivot-tables/

  • Change Height of Web Resource to Get Rid Of Blank and Scroll Bar

    Hi, I am a junior CRM developer. I'm using CRM online.
    I wrote a HTML web resources. In Web Resource Properties, I set the Number of Rows as 20.
    But the problem is: If the form window are maximized, there will be blank under web resource; if the form windows become smaller, there will be a scroll bar on the side.
    I want get rid of blank and scroll bar, automatically change height according to the size of the window.
    I tried checkbox "Automatically expand to use available space", but it didn't work.
    I don't think add CSS to my HTML will work, because CSS in HTML will change the html height, not the container in CRM.
    Thank you in advance.

    You most likely have a malware infection. Run and update the following scanners. (Not all programs detect the same infection.)
    1. [http://www.safer-networking.org/]
    2. [http://www.malwarebytes.org/]
    3. [http://www.spywareterminator.com/]
    4. [http://www.microsoft.com/security/malwareremove/default.aspx]
    If those programs do not do the trick, try to post in the following forum:
    1. [http://www.bleepingcomputer.com[
    Other spyware removal forums can be found in a search.
    Does the issue occur in [[Safe Mode]]?

  • Firefox actualized the new version, but it looks only a black screen and no watch buttons and scroll bars, nothing

    The new version of Firefox dosen't work is only a black screen without buttons and scroll bars. I try re install and uninstall and erase files, but dosen't work.

    Sorry, please disable hardware acceleration as a temporary workaround. This is an incompatibility between Firefox 33 and some older graphics card/chipset drivers. More info: https://support.mozilla.org/questions/1025438

  • How to create table with rows and columns in the layout mode?

    One of my friends advised me to develop my whole site on the
    layout mode as its better than the standard as he says
    but I couldnot make an ordinary table with rows and columns
    in th layout mode
    is there any one who can tell me how to?
    thanx alot

    Your friend is obviously not a reliable source of HTML
    information.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Mr.Ghost" <[email protected]> wrote in
    message
    news:f060vi$npp$[email protected]..
    > One of my friends advised me to develop my whole site on
    the layout mode
    > as its
    > better than the standard as he says
    > but I couldnot make an ordinary table with rows and
    columns in th layout
    > mode
    > is there any one who can tell me how to?
    > thanx alot
    >

  • Additional Data B Tab; screen#8309 scroll bar problem

    Hi
    I created additional fields to capture Quotation related information.  There are about 43 custom fields added to VBAK using append structure.
    These have modified the Screen#8309 to include all those fields.  Looking at attributes of the screen#8309, it says Occupied 31 lines and 121 columns.
    When I execute transaction VA21 and my display is average screen size, I see about 21 lines and scroll bar to see the rest of the screen.  When I click on the scroll bar, the rest of previously hidden section of the screen shows blank.
    If I maximize my screen, all the fields show up correctly.  When the screen is in a reduced size and section that become visible when we use the scroll bar remain blank.
    I compared the attributes of screen#8309 and fields I have added with other SAP Screens which are long and run into multiple screens, I don't see anything specific parameter or flag that will initialize the hidden section of the screen.
    Question is how to get the hidden section of screen to populate automatically!?
    Any help is appreciated.
    Thanks,
    Vasava Krishnamoorthy

    Found the answer ...
    OSS Note# 302497,
    There is field "Scrollable" in the field attributes of the subscreen 8309 when you edit screen 4312; this field needs to be turned on ...

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

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

  • 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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • ITunes 7.3 update fixes fuzzy coverflow scroll bar!

    Good news, it seems the latest update has fixed the unsightly fuzzy/blurry/pixellated scroll bar! Before you had to resize the iTunes window to get it to return to its sleek smooth appearance but since installing the update this morning my Coverflow is beautiful again!
    Some people had mentioned this might be something to do with the graphics driver/card in the MacBook as this problem was not occurring on MacBook Pro's or iMac's etc...
    Hopefully everyone else is seeing the same?

    While I'm waiting a bit before I get an iPhone, I did want to get 7.3 installed. And when I did, my Cover Art also began to disappear, and those disappearing were definitely non-iTunes purchased tracks. Moreover, I could not re-paste Album Covers back into those same tracks. So 7.3 does have a bug regarding Cover Art.
    As an aside and since Cover Flow, for me, will be an important aesthetic to enjoying iTunes on an iPhone, I will not get an iPhone until 7.3 is sorted out. ...I don't want to hassle with my iTunes Cover Art and an iPhone through some software updates. So, I prefer to wait until this software bug is eliminated. (I hope Apple is aware of this bug, by now.)
    I was able to revert back to iTunes 7.2 (from a backup) and all my Cover Art was reintroduced back into my viewing of the non-iTunes purchased tracks. So, 7.3 does not delete those Album covers, but for some reason will not show or allow paste. Once reversion back to 7.2 was completed, my iTunes Cover Flow was just as it had been prior to installing 7.3.
    I'm now looking for 7.3.x.
    PB 17 1.33GHz   Mac OS X (10.4.10)   1GB Ram

  • Issue with div "s4-workspace" and scroll bar

    Hi,
    I have a standard publishing site, I just added an horizontal menu (the publishing site doesn't have it) but I'm experiencing a strange behavior:
    With my custom menu the div "s4-workspace" shifts down by the height of the menu and I cannot see the end part of the page content.
    I noticed this because I was looking at the workspace right scroll bar and I could not see the end.
    I copied my horizontal menu from the Team Site, where the menu is scrolling inside the workspace, but I want to keep it fix under the ribbon.
    I guess that it's a div displacement problem, but I could not find anything to fix it. I opened the nigthandday.css and the core4.css looking for some CSS style property, but nothing...
    This is what it looks like:
    <!-- Ribbon end -->
    <div>
    <!-- my custom menu -->
    </div>
    <div id="s4-workspace">
    Any help?
    Thank you,
    Nicola.

    If you look at the page, you will notice that the whole page doesn't scroll by default.  Only the S4-workspace and below scrolls.  This is done through the use of a Javascript.  Your problem is that you have inserted something between the
    div's at the top of the page and the S4-workspace div.  The javascript isn't aware of that and so it's not factoring in that height when it calculates how to scroll the page.  So you can never reach the bottom.
    To fix it you need to either remove the factors that cause the partial page scrolling and scroll the whole page or insert your menu into either the top of the s4-workspace div or one of the other existing div's at the top of the page.  Take a look at
    the following article for a more indepth explanation.
    http://blogs.msdn.com/b/sharepoint/archive/2010/04/06/customizing-ribbon-positioning-in-sharepoint-2010-master-pages.aspx
    Paul Stork SharePoint Server MVP

  • How to fix double vertical scroll bar in responsive output

    After implementing the solution provided for the question 'Responsive HTML5 Output: How to auto adjust the screen resolution for all devices?', the function bar in output does not appear and also another vertical scroll bar in the output. I edited the max-width value in the layoutfix.min.css file and fixed the function bar issue. How can I do away with the additional vertical scroll bar?

    I've looked into the issue.
    @Delennish: In your case, the size of the iframe is too large, or you have an extra empty element below the iframe. You can try 2 things:
    1. Best solution but may have side effects: In the main.css, add the following code:
    div.contentholder { overflow: hidden !important;}
    For this option, please check for undesired side effects.
    2. Works, but is ugly: In the main.css, add the following code:
    div.floatholder iframe.wTopic { height: 95% !important;}
    Try playing with the height setting until the 2nd scrollbar disappears.
    @CarolW: The layout you're using is very old. I've made a new responsive layout with TOC only. Please use that one instead: http://www.wvanweelden.eu/sites/default/files/attachments/Theme1_Standard_TOC_Only.zip (I'll update my site with this new version later.)

Maybe you are looking for

  • GR/IR clearing value

    Hi all There is a SA with many times GR and IR now i want to know the GR/IR clearing value about this SA. Which T-code can display this? I tried manys but all under vendor,account number.which can under a SA? Thanks a lot

  • How can I keep my video sound from cutting out?

    The last couple of weeks the sound on my videos has been cutting out after I play them on Itunes on my computer, usually after a few seconds to a minute or two. I do not have the same problem when I load them on my really old Ipod Touch however. How

  • PI 7.0 service users are locked

    Hi guys, We have PI7.0 installed and configured properly. We created a custom product and software component version in SLD and when we are trying to import it in IR we get "Unable to read software component versions from System Landscape Directory".

  • Jdev9i, JSP, Execute a Sql Select statement directly?

    Hi, I need the syntax to execute a Sql SELECT statement directly against Oracle database and access rows(returned by SELECT statemnet) in a JSP page or Servlet? Any sample code available for this. Thanks.

  • SAX  ..crimson parser vs xerces parser..does changing parsers help

    Hello ...I relatively new to XML technology.My question is does changing parsers from say crimson to xerces(or such...) improove the performance of an application.Our application is faced with a performance problem and I was wondering if changing par