Row getting added in the end of the scroll

Hi -
I am using a scroll area on a page on level 1. The issue iam encountering is that when ever i click the plus sign to add a second or third row (assume one record already exists in scroll 1) , the row gets added in the end of the scroll and also the fields are blank. However as delievered the new row should get added on the top of the scroll meaning 1 of 2 not 2 of 2, and also it should carry forward the values from the prior row. Please any suggestion or help is greatly appreciated.

I figured it out. The reason it was happening was because, my scroll record had another key field after EFFDT and EFFSEQ, due to which the delivered copy forward logic for new rows in scroll did not work and the row was getting added in the end or after the first blank row always.

Similar Messages

  • Previously Firefox would show a number at the end of the file name (renaming the file by adding a number) showing that I had already downloaded a file at least once before. Recently that isn't happening. How do I get that feature back?

    When downloading, previously Firefox would show a number at the end of the file name (renaming the file by adding a number) showing that I had already downloaded a file at least once. Now that isn't happening. How do I get that feature back?

    When downloading, previously Firefox would show a number at the end of the file name (renaming the file by adding a number) showing that I had already downloaded a file at least once. Now that isn't happening. How do I get that feature back?

  • Add JTable Row Headers At The End Of The Rows(At Right)?

    hi all
    i got this example for adding JTable Row Headers,but it adds the headers at the left(beginning of the row)
    and i want to add the headers at the end of the row(at right),any ideas how to do that?
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.AbstractListModel;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.ListCellRenderer;
    import javax.swing.ListModel;
    import javax.swing.UIManager;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.JTableHeader;
    * @version 1.0 11/09/98
    class RowHeaderRenderer extends JLabel implements ListCellRenderer {
      RowHeaderRenderer(JTable table) {
        JTableHeader header = table.getTableHeader();
        setOpaque(true);
        setBorder(UIManager.getBorder("TableHeader.cellBorder"));
        setHorizontalAlignment(CENTER);
        setForeground(header.getForeground());
        setBackground(header.getBackground());
        setFont(header.getFont());
      public Component getListCellRendererComponent(JList list, Object value,
          int index, boolean isSelected, boolean cellHasFocus) {
        setText((value == null) ? "" : value.toString());
        return this;
    class RowHeaderExample extends JFrame {
      public RowHeaderExample() {
        super("Row Header Example");
        setSize(370, 150);
        ListModel lm = new AbstractListModel() {
          String headers[] = { "Row1", "Row2", "Row3", "Row4"};
          public int getSize() {
            return headers.length;
          public Object getElementAt(int index) {
            return headers[index];
        DefaultTableModel dm = new DefaultTableModel(lm.getSize(), 4);
        JTable table = new JTable(dm);
        table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        table.setRowHeight(18);
        JList rowHeader = new JList(lm);
        rowHeader.setFixedCellWidth(50);
        rowHeader.setFixedCellHeight(18);
        rowHeader.setCellRenderer(new RowHeaderRenderer(table));
        JScrollPane scroll = new JScrollPane(table);
        scroll.setRowHeaderView(rowHeader);
        getContentPane().add(scroll, BorderLayout.CENTER);
      public static void main(String[] args) {
        RowHeaderExample frame = new RowHeaderExample();
        frame.addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            System.exit(0);
        frame.setVisible(true);
    }

    fixed by:
    list.setBackground(table.getTableHeader().getBackground());here's the full code:
    import java.awt.BorderLayout;
    import java.awt.Component;
    import java.awt.ComponentOrientation;
    import java.awt.event.WindowAdapter;
    import java.awt.event.WindowEvent;
    import javax.swing.DefaultListModel;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import javax.swing.ListCellRenderer;
    import javax.swing.UIManager;
    import javax.swing.table.DefaultTableModel;
    import javax.swing.table.JTableHeader;
    * @version 1.0 11/09/98
    class RowHeaderRenderer extends JLabel implements ListCellRenderer {
      JTable table;
      RowHeaderRenderer(JTable table) {
        this.table = table;
        JTableHeader header = table.getTableHeader();
        setOpaque(true);
        setBorder(UIManager.getBorder("TableHeader.cellBorder"));
        setHorizontalAlignment(CENTER);
        setForeground(header.getForeground());
        setBackground(header.getBackground());
        setFont(header.getFont());
      public Component getListCellRendererComponent(JList list, Object value,
          int index, boolean isSelected, boolean cellHasFocus) {
        list.setBackground(table.getTableHeader().getBackground());
        setText((value == null) ? "" : value.toString());
        return this;
    class RowHeaderExample extends JFrame {
      public RowHeaderExample() {
        super("Row Header Example");
        setSize(370, 150);
        setLocationRelativeTo(null);
        DefaultListModel lstModel = new DefaultListModel();
        lstModel.addElement("Row 1");
        lstModel.addElement("Row 2");
        lstModel.addElement("Row 3");
        lstModel.addElement("Row 4");
        DefaultTableModel dm = new DefaultTableModel(lstModel.getSize(), 4);
        JTable table = new JTable(dm);
        table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
        table.setRowHeight(18);
        JList rowHeader = new JList(lstModel);
        rowHeader.setFixedCellWidth(50);
        rowHeader.setFixedCellHeight(18);
        rowHeader.setCellRenderer(new RowHeaderRenderer(table));
        JScrollPane scroll = new JScrollPane(table);
        scroll.setRowHeaderView(rowHeader);
        table.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
        scroll.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT);
        getContentPane().add(scroll, BorderLayout.CENTER);
      public static void main(String[] args) {
        RowHeaderExample frame = new RowHeaderExample();
        frame.addWindowListener(new WindowAdapter() {
          public void windowClosing(WindowEvent e) {
            System.exit(0);
        frame.setVisible(true);
    }

  • Need to add a new row at the end of the table

    Experts,
    working jdev 11.1.1.3.0
    i am adding row programetically, my requirement need to add the row at after last row.
    i tried different ways.
    Row newLastRow = getPWBBidLaneVO().last();
    int lastRowIndex = getPWBBidLaneVO().getRangeIndexOf(newLastRow);
    getPWBBidLaneVO().insertRowAtRangeIndex(lastRowIndex - 1,
    laneRow);
    this is giving --- java.lang.ArrayIndexOutOfBoundsException: 0
    and
    http://kohlivikram.blogspot.com/2008/10/add-new-row-in-adf-table-on-button.html --- its giving index out of bound because vo.getRangeSize() is 25. We set this value at vo for performance improment suggestions.
    is there a way to add a new row at the end of the table?

    Add this to the view row impl class
           public void insertRow(Row row) {
               //go to the end of Rowset if it has rows
               Row lastRow = this.last();
               if (lastRow !=null){
                    //insert new row at the end and make it current
                   int indx = this.getRangeIndexOf(lastRow)+1;
                   this.insertRowAtRangeIndex(indx,row);
                   this.setCurrentRow(row);
               }else { // empty Rowset
               super.insertRow(row);
               }

  • I want my new tabs to open at the end of the row of tabs, how do I do that?

    When I open a new tab, I would like it to open at the end of the row of tabs, not next to the tab I'm on now. I'm used to it opening on the end like it did in older versions of Firefox. I'm sure this is an easy fix but I can't find anything in options and I'm getting frustrated.
    Thanks!

    Hello callagalla, go to [http://kb.mozillazine.org/About:config about:config] find(or copied/paste from there) '''browser.tabs.insertRelatedAfterCurrent''' and double-click on it to make it FALSE.
    thank you

  • How to add an extra row at the end of the Grid?

    Hi gurus,
    I am getting result from the select query which has 4 columns.
    I got the requirement to display the sum of those columns as the last row.
    How can i add the another row at the end of the iGrid ?
    Data would look like
    Sno  Col1   Col2  Col3  Col4
    1         4       6      1       6
    2         5       8      0       8
    3         6       1      2       5
    Sum     15     14    3       19
    Do i have to add transformation to the sql query? or
    Can i add row to the display tempalate by accessing the Gridobject?
    Please help.
    Thanks
    Vansi
    Edited by: vamsi P on Feb 12, 2008 8:49 PM
    Edited by: vamsi P on Feb 12, 2008 8:49 PM

    Hi Vamsi,
    There are a few options ...
    1) The one suggested by Prasanna
    2) Loop through all rows via JavaScript and use the GridObject methods to set cell values and then perform an applet.refreshGrid( false )
    3) Apply an Inline transform
    4) Use a stored procedure to return the results and the totals as one recordset.
    The stored procedure would be the fastest for runtime.
    The Iniline XSL transform would be the second fastest.  If you specify the XSL in a generic way, you may even be able to reuse it in other scenarios.  If you hardcode the fields in the XSL, it would be a matter of simple code adjustment when you encounter a similar scenario.
    Hope this helps.
    Cheers,
    Jai.

  • I have an Iad2 and ever since ios6-there are issues.I get occasional lock-ups and have to reboot. The WSJ app freezes when running their videos to the end. The only work-around is to stop the video before it's over. Worse than windows me !!!!!

    My Ipad2 worked perfectly before ios6 upgrade. It now freezes occasionally and I have to reboot to get it to work. Also the WSJ app will now freeze if I try and run one of their videos that is imbedded in the article. My only work-around is to stop (press done) before the end of the video or I have to do a total reboot. The problems remind me of Windows ME . Will Apple resolve these issues or become more like Microsoft. Hopefully there will be a restore button in the future like Microsoft was forced to do because a lot of upgrades are just terrible. Am I crazy or are there other people having the same issues with ios6, or could this just be a coincidence and my ipad2 is starting to fail just when ios6 arrives ?

    I know this will not help but, the bluetooth headset I purchased for my wife works great and it pairs with our car and our sound bar in the livingroom (Motorola Droid Razr) 98.72.16.XT912.Verizon.en.US
    However I did not upgrade over the air but from a android web site and placed it on my external sd card. I believe this made the difference in why we had no issues and upgraded functionality has been great.
    Please note when I mention these bluetooth devices I mean the Razr connects with no problems.
    It also had no internet issues and none of the problems others have complained about in other threads.
    unfortunately when you say thousands have these issues I cannot say that is accurate. The hope is when large numbers of owners have updated to the Jelly Bean and are complaining inmase then Motorola will issue a patch to verizon to get out to the affected users.
    Of course now that Google owns Motorola Mobility and has laid off loads of workers it may never issue an os patch.

  • Osx 10.7.4   safari 6.0  when I add a new bookmark to the "bookmarks menu" it is added somewhere in the middle instead of at the end of the list.  this just started a few days ago after an update.  Has anyone else noticed this?.

    osx 10.7.4   safari 6.0  When I add a new bookmark to the "bookmarks menu" it is added somewhere in the middle instead of at the end of the list.  This just started a few days ago after an update.  Has anyone else noticed this?.

    Just for those who are interested, this is what cleared the "bookmark menu"  trbl I had.
    Open System Preferences > iCloud
    Deselect the box next to Bookmarks, then reselect it.
    Quit and relaunch Safari. Try a bookmark again.

  • The current version of Firefox moves the tabs. Now the focus moves off the end of the row. I think this runs counter to the point of having tabs, if you can only see one at a time. How do I fix this

    The tabs bar on 3.6 Firefox now focuses on the last tab in the row. This means that I can only effectively see one tab, unless I use the arrow button to scroll back through all the tabs. I am used to scrolling some, when there are a dozen tabs open, but How do I make the tab bar static, they way it used to be, so it stands still when I click on the last tab in the row.??

    Thanks for taking a stab at it: that didn't prove to be the problem. That option in the settings for tabbed browsing was not checked.
    I may be a bit behind the times: I am used to tabbed browsing showing all the tabs it possibly can, instead of just the last one. Sometimes it won't even show the last tab: I can have 15 tabs open, and not see a single tab. I've been confused by this into closing a window with lots of tabs open, because it looks like a single page-window.
    My main problem with the tab-bar flashing to the end of the row is that it means a great deal more mouse-clicking around to browse.
    I haven't tried installing the latest beta. Maybe that would fix the problem.
    Toddo

  • How do i get a new tab to open up with my home page after i click on the + at the end of the tab

    how do i get a new tab to open up with my home page after i click on the + at the end of the tab

    problem solved thak you Andy.c that was too easy and a fast reply i'm abit of an iliterate with these things

  • How do I duplicate layers & groups without automatically adding a "copy", "copy 1", "copy #" at the end of the new group?

    How do I duplicate layers & groups without automatically adding a "copy", "copy 1", "copy #" at the end of the new group?
    It's been pestering me for quite a while now, since I often work with the same elements over and over again. Its frustrating to have to change the name of each layer manually, especially if I'm copying a whole group.
    Is there a setting in Photoshop or perhaps an external script that can help fix this for me?
    Cheers,
    Qiming

    There is no way to defeat this within the program itself. Here's the workaround:
    Duplicate the file (from the Image menu).
    Drag the Group or layers from the Layers list from the duplicate to the image window of the original , while holding down Shift.
    That will make a "copyless" copy and reposition the copyed material in the exact same position it was on the original.

  • I have a new computer running os10.9. my old computer ran cs5.5(upgrade version). I am trying to get CS5.5onto my new computer. when i load cs5.5 towards the end of the install it asks for the cs5.5 serial number. i put that in and everything is accepted

    I have a new computer running os10.9. my old computer ran cs5.5(upgrade version). I am trying to get CS5.5onto my new computer. when i load cs5.5 towards the end of the install it asks for the cs5.5 serial number. i put that in and everything is accepted but then it asks for a serial number for a full version of a product which men is design premium cs3 but it doesn't give me that product as a choice from the drop down menu. it only gives me adobe master collection cs3. why when i have purchased all these different upgrades can i now not use them and how can i sort this out. i need cs5.5 on my new computer.

    Contact Adobe support:
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Will not boot up. Apple shows, spinning wheel shows, a bar comes up on the bottom. It gets to the end of the bar and shuts down.

    Will not boot up. Apple shows, spinning wheel shows, a bar comes up on the bottom. It gets to the end of the bar and shuts down.

    Will not boot up. Apple shows, spinning wheel shows, a bar comes up on the bottom. It gets to the end of the bar and shuts down.

  • Windows 7 on MacBookPro Lion not starting, it gets to the end of the windows logo then nothing...

    I have a problem with getting Bootcamp going on my MacBookPro sometimes. It will get to the end of the winows logo start to show the bllue winows 7 pic and then nothing... I have to re-start several times with the same issue till I get the safe mode dialogue. If I then get into control panel - system and security - check for performance issues it says superfetch is not running and also asks about choosing start up programs sometimes. I can set bootcamp etc to run from the start up program dialogue to resolve that issue but it vstill brings up the super fetch issue as unresolved. Lion will start up ok but not windows. ?This issue only hapens at temporatures of 12 centigrade or lower. Any ideas?
    Bootcamp 4.0
    Windows 7 home premium
    processor i5 - 2415M @ 2.3GHz
    64 bit

    you don't need or have to have superfetch
    do you have an SSD?
    not sure why but seems like you nailed the issue: cold temp - and disk drive is too cold or not spinning up properly
    try booting from Windows DVD and perform any checks and repairs.
    schedule or force it to do chkdsk on the partition next time

  • HT1414 I have tried to restore my IPhone 5 many times now and keep getting an unknown message error at the end of the set-up. The phone is stuck in restore mode and I am unable to use it. What do i need to do to get resolved...help!!!

    Dear all,
    I have had problems with the internet connection with my IPhone 5. I have tried to restore the software to see if that would make a difference.
    I have tried now for at least 10 times to restore the software. The phone is locked now in restore mode, and when I get to the end of the restore to verify with the server, i get a consistent unknown error message. Sometimes is says my phone cannot be found.
    The phone has the connect to Itunes on the screen and cannot be used.
    I am running out of patience now....need urgent help!!
    What to do?

    Contact Apple support for warranty service.

Maybe you are looking for

  • Exchange calendar not sync on 3.1 (iPhone 2G)

    Hi, For some strange reason our Exchange 2007 (latest SP) does not sync the calendar on one of our 2G iPhones setup with Exchange. Strangely, both the Address Book and the Mail app syncs perfectly. Anyone else experienced this?

  • Nokia Lumia 620 and Class10 microSDHC UHS-I compat...

    Are these 2 compatible Nokia Lumia 620 sanDisk Ultra microSDHC UHS-I 32GB   The Nokia Lumia page only mentions microSD and doesn't detail if it supports the UHS format.

  • Automatic clearing special G/L transactions of the type bill of exchange

    Dear all, I've checked that from F.13 isn't possible to clear automatically special G/L transactions of the type bill of exchange. Does it exist another way to clear these items automatically? Thanks in advance Alberto

  • Learn how to use the Forum

    Welcome to the HP Support Forum! This forum is a great place to get your questions answered as well as learn how to get the most out of your HP products. If this is your first time in our community, you have come to the right place to learn how the F

  • Budget Vs Actual report for FM

    Hi SAP FM Gurus We had implemented BCS in ECC 6.0. We are able to get the availability control for the commitment item & fund centre through the release procedure for specific periods. In the above said situtaion, we are facing the following issues.