Move scroll bar to currentrow

I have two interactive reports. Both highlight the current row. One actually scrolls to the selected one so that it is always at the top of the report. One does not. I can't find the difference between the two reports..
What can make an IR scroll to the currently selected item?

tward,
I do not believe there is any built in functionality to do this. I have met this requirement before by appending an anchor tag to the edit link. The id of the anchor tag will be the primary key for that record. This method assumes that the record will be displayed within the current interactive report selection and is within the current pagination.
to recreate my solution follow this example:
1. Create a report with the following SQL: (my report is page 10)
select level primary_key,
       level display
  from dual
connect by level <= 1002. Create a second page (mine is page 11) with 1 region and 1 item. the item should be named P11_PRIMARY_KEY
3. Edit the report on page 10 so the primary key column is a link to page 11 and sets P11_PRIMARY_KEY to #PRIMARY_KEY#.
4. Modify the edit link and append an anchor tag to it and give it an id of the primary key for that record. It should look something like this:
<img src="#IMAGE_PREFIX#menu/pencil16x16.gif" alt=""><a id="#PRIMARY_KEY#"></a>
|- - - - - - - edit link display - - - - - - - - - -|| - appended anchor tag - | 5. Create a region level button on page 11. Name it cancel and make its target redirect to URL and make the target this:
f?p=&APP_ID.:10:&APP_SESSION.:::::#&P11_PRIMARY_KEY.6. run the app, click a link on the report on page 10 then click the cancel button on page 11. The record you clicked edit on should be at the top of the page.
edit
[url http://apex.oracle.com/pls/apex/f?p=43401:10]example
Thanks,
Tyson Jouglet
Edited by: Tyson Jouglet on May 5, 2011 10:55 AM

Similar Messages

  • Form Option Value - Move scroll bar to selected or move data to top

    I have a multiselect <cfselect> form element that has 20 or so entries and five are visible.  The entries are dates such as April 2010, April 2009, etc.  I am using something like this to get the date to select the current month and year in my list.
    <option value ="#assignMonth#-#assignYear#" <cfif assignMonth EQ myMonth and assignYear eq myYear >selected</cfif>>#monthName# #assignYear#</option>
    The problem is the way the list is populated is April 2010 for example requires scrolling.  I either want to be able to move the scrollbar to display the selected month or I want to move the selected month to the top of the list. 
    I can't just reorder the data because future months are in there and it will look very strange.
    Thank you.

    You aren't speaking to the Apple Software development team here.
    To do so, you would need to go http://developer.apple.com/ get a free account.
    And submit a bug report at http://bugreporter.apple.com/

  • FireFox web buttons and movie scroll bar do not work anymore!

    == Issue
    ==
    Firefox is having problems with certain web sites
    == Description
    ==
    When watching movies after choosing Maximize movie to full screen movie controls no longer work. You must first hit ESC to get out of full screen mode before controls work again. I have seen this on 3 different sites. This is a new problem. And the problem seemed to start after FireFox prompted me to download a new version of Flash.
    <blockquote>Please don't post clickable links to XXX-rated material in this forum.
    Space now inserted in that link - edited by a moderator - eh</blockquote>
    == URL of affected sites
    ==
    <blockquote>Do not post links at all to porn -MJB</blockquote>
    == Troubleshooting information
    ==
    Application Basics
    Name
    Firefox
    Version
    3.6.6
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Java Console
    6.0.16
    true
    Java Console
    6.0.17
    true
    Java Console
    6.0.18
    true
    Java Console
    6.0.19
    true
    Java Console
    6.0.20
    true
    Firefox Showcase
    0.9.5.5
    true
    {89506680-e3f4-484c-a2c0-ed711d481eda}
    DVDVideoSoft Menu
    1.0.1
    true
    DownloadHelper
    4.7.3
    true
    Adblock Plus
    1.2
    true
    Download Statusbar
    0.9.6.8
    true
    SweetIM Toolbar for Firefox
    1.0.0.10
    true
    Norton IPS
    2.0
    true
    Norton Toolbar
    4.6
    true
    {2D3F3651-74B9-4795-BDEC-6DA2F431CB62}
    Search Helper Extension
    1.0
    true
    {27182e60-b5f3-411c-b545-b44205977502}
    Adobe DLM (powered by getPlus(R))
    1.6.2.63
    true
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar
    0
    browser.history_expire_days.mirror
    180
    browser.places.smartBookmarksVersion
    2
    browser.startup.homepage
    http://www.igoogle.com
    browser.startup.homepage_override.mstone
    rv:1.9.2.6
    extensions.lastAppVersion
    3.6.6
    keyword.URL
    http://search.sweetim.com/search.asp?src=2&q=
    network.cookie.prefsMigrated
    true
    places.last_vacuum
    1273928725
    privacy.sanitize.migrateFx3Prefs
    true
    security.warn_viewing_mixed
    false
    == User Agent
    ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SIMBAR={9CDB2A64-E417-42DF-83F2-1B302E1DA08A}; GTB6.5; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 1.1.4322; .NET4.0C; .NET4.0E; InfoPath.3; Creative AutoUpdate v1.40.01)

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • About  scroll bar in list

    in basic list    I have write some thing and move  scroll bar in a position
    in detail list ,I want the scroll bar's position same to basic list ,how to do it ,thanks

    start with this:
    http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv eDocs_Parts&file=00002468.html
    if you need more help use google to search for a tutorial you
    can follow. there are plenty out there, i belive.

  • Moving Scroll bar in ALV?

    Hi,
    Is it possible to move scroll bar in ALV table programatically,  if i have more fields?
    Thanks,
    GS

    Hi Sathish,
    I think you can try have a workaround by using the following method of class
    CL_SALV_WD_CONFIG_TABLE~IF_SALV_WD_TABLE_SETTINGS~SET_FIRST_VISIBLE_ROW
    It takes Integer as input for Row Number to be displayed as first row. So put your coding within a button up on pressing which you want the scrolling to take place. I however haven't tried it out myself ever...
    Regards,
    Uday

  • How to link one scroll bar with two dynamic text boxes.

    How to link one scroll bar with two dynamic text boxes.
    If i move scroll bar in one text box,automatically text will
    be moved in another text box.But scroll bar is not visible.
    Can you please help me.
    Thanks in advance.

    See the following article:
    JavaScript - setFocus Method for tabbing to next form field
    And see if iOS can even handle the sample form.
    iOS and android devices are not a powerful as your desktop of laptop computer and have limited support for JavaScript within PDF forms. This limitation for specific apps ranges from none to quite a bit but not all JavaScript.

  • In Lion, why did Apple remove the up/down arrows in the scroll bars?  There is currently no way to move up and down in small increments.  WHY????

    Every mac operating system software until Lion had the ability to use up/down arrows in the scroll bar.  This makes it easy to move up and down in small increments.  In Lion, it is impossible to move up and down in small increments.  Click on the scroll bar and it moves up or down an entire page.  When you try to put the curser on the scrollbar and move it up just a little, it moves a whole bunch.  With the up/down arrows, you can click on the arrow and it will scroll ulp or down one line a time.  There is no way to do this in Lion. Why would apple remove the very useful feature of up and down arrows.

    Yes, agreed a missing element.
    Did you try using the up / down arrows on the key board.

  • Adobe Reader move the vertical scroll bar from left to right

    Hi,
    is it possible to move the vertical scroll bar from left to right in Adobe Reader 9?
    If not, are you planning to implement this functionality?

    I meant from right to left, sorry
    You see, I'm left handed and when I use the scroll bar that is on the right side with the left hand I don't actually see the content of the page, because my left hand is covering the screen (I'm browsing the internet in tablet mode and I use the pen to navigate between pages).
    My system is a Tablet PC with Windows XP Tablet Edition 2005 and Adobe Reader 9.3.2.
    P.S. can you edit my post so the google indexes it right? (
    from right to left
    instead of "from left to right")

  • How to add a scroll bar within a view window ?I want to display x and y axis outside the scoll window and keep those axis static and move the graph within scroll area

    how to add a scroll bar within a view window ?I want to display x and y axis outside the scoll window and keep those axis static and move the graph within scroll area
    ananya

    Hey Ananya,
    I believe what you want to do is possible, but it will not be
    easy.  If you want to add a scroll bar that will scroll the graph
    back and forth but keep the axis set, you would want to add a
    horizontal or vertical scrollbar.  Then you would create an event
    handler for the scroll event.  You would have to manually plot
    different data within this scroll event.  Unfortunately, there is
    not really a built in way to do this with the Measurement Studio plot
    control.
    Thanks,
    Pat P.
    Software Engineer
    National Instruments

  • How do I move around in mavericks without a scroll bar?

    how do I move around in mavericks without a scroll bar?

    I just drag my fingers up and down my Trackpad.
    If you have a scrolling mouse, you can use that, too.
    Finally, if you want the scroll bars to show, turn on that option in the General System Preferences.

  • What happens when the scroll bar moves to the bottom by itself?

    When I am browsing, the scroll bar moves downward all of sudden to the bottom of the arrow. When you click on the scroll bar to move the page back to the top, it automatically moves back the scroll bar back to the bottom of the page. I have tried reloading the page, going forwards and backwards, and refreshing the page but it still does this problem. The only way to fix this problem is you have to close Firefox and reopen the browser. Is there a solution?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Scroll bar moves when clicked on

    Hello.  I have a custom scroll bar that was made using AS2.  It works fine except that when you click on the bar and move it, the image shifts slightly and then doesn't line up correctly.  I don't know what's causing it to shift.  All registration points are in the upper left hand corner.  I was really hoping someone could help me with this.  Here is the code:
    txt.setMask(mask)
    scrollbar.onMouseDown = function() {
        if (this.hitTest(_root._xmouse, _root._ymouse) && txt._height>mask._height) {
            this.startDrag(false, scrollbarBG._x, scrollbarBG._y, scrollbarBG._x, scrollbarBG._height-this._height)
            txt.onEnterFrame = scrollThumbs;
            dragging = true
    scrollbar.onMouseUp = function() {
        stopDrag()
        dragging = false
        delete this.onEnterFrame;
    function scrollThumbs() {
        var funkyVar = -this._parent.scrollbar._y*(((this._height-this._parent.scrollbar._height)/(this._parent. scrollbarBG._height-this._parent.scrollbar._height))-1)
        this.Y = (funkyVar-this._y)*.2;
        this._y += this.Y;
        if(Math.abs(funkyVar-this._y)<1 && !dragging){
            delete this.onEnterFrame

    Thank you very much for the code.  After what you said, though, I went to find different code.  I used kirupa this time.  I just finished testing it out.  I typed in the code and it went a lot smoother.  However, the scroll bar top is STILL shifting to the side.  So it must mean it's not the code that is messing up?  All the registration points are in the upper left hand corner.  Should the points be somewhere else to stop the shifting?  Here's the code:
    scrolling = function () {
    var scrollHeight:Number = scrollTrack._height;
    var contentHeight:Number = contentMain._height;
    var scrollFaceHeight:Number = scrollFace._height;
    var maskHeight:Number = maskedView._height;
    var initPosition:Number = scrollFace._y=scrollTrack._y;
    var initContentPos:Number = contentMain._y;
    var finalContentPos:Number = maskHeight-contentHeight+initContentPos;
    var left:Number = scrollTrack._x;
    var top:Number = scrollTrack._y;
    var right:Number = scrollTrack._x;
    var bottom:Number = scrollTrack._height-scrollFaceHeight+scrollTrack._y;
    var dy:Number = 0;
    var speed:Number = 10;
    var moveVal:Number = (contentHeight-maskHeight)/(scrollHeight-scrollFaceHeight);
    scrollFace.onPress = function() {
    var currPos:Number = this._y;
    startDrag(this, false, left, top, right, bottom);
    this.onMouseMove = function() {
    dy = Math.abs(initPosition-this._y);
    contentMain._y = Math.round(dy*-1*moveVal+initContentPos);
    scrollFace.onMouseUp = function() {
    stopDrag();
    delete this.onMouseMove;
    btnUp.onPress = function() {
    this.onEnterFrame = function() {
    if (contentMain._y+speed<maskedView._y) {
    if (scrollFace._y<=top) {
    scrollFace._y = top;
    } else {
    scrollFace._y -= speed/moveVal;
    contentMain._y += speed;
    } else {
    scrollFace._y = top;
    contentMain._y = maskedView._y;
    delete this.onEnterFrame;
    btnUp.onDragOut = function() {
    delete this.onEnterFrame;
    btnUp.onRollOut = function() {
    delete this.onEnterFrame;
    btnDown.onPress = function() {
    this.onEnterFrame = function() {
    if (contentMain._y-speed>finalContentPos) {
    if (scrollFace._y>=bottom) {
    scrollFace._y = bottom;
    } else {
    scrollFace._y += speed/moveVal;
    contentMain._y -= speed;
    } else {
    scrollFace._y = bottom;
    contentMain._y = finalContentPos;
    delete this.onEnterFrame;
    btnDown.onRelease = function() {
    delete this.onEnterFrame;
    btnDown.onDragOut = function() {
    delete this.onEnterFrame;
    if (contentHeight<maskHeight) {
    scrollFace._visible = false;
    btnUp.enabled = false;
    btnDown.enabled = false;
    } else {
    scrollFace._visible = true;
    btnUp.enabled = true;
    btnDown.enabled = true;
    scrolling();

  • A centred page moves about when scroll bar appears DW Cs5?

    Hi everybody, I have noticed that when you have web pages centred, that the pages annoyingly move about when a scroll bar appears. Some times a page is longer than the browser window and so a scroll bar appears on the right which allows the viewer to scroll down.
    But what happens is, it then centres the page in the centre of the space that is left after the scroll bar appears so the page jilts from to side to side according to whether the page has a scroll bar, obviously this looks rubbish.
    Is there any code that can make the browser centre the page in the same place, so that the scroll bar eats into the space on the right side rather than pushes the whole page over to the left. ?
    many thanks for any help
    Gareth

    Ideally, CSS code belongs in your external stylesheet file.
    While you're testing site ideas, you could temporarilly add styles to your HTML pages like so:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <LINK REL="SHORTCUT ICON" HREF=".\favicon.ico">
    <title>Template</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    PAGE SPECIFIC
    CSS RULES GO HERE
    </style>
    </head>
    HTML & CSS Tutorials - http://w3schools.com/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • ECC6 - SD - Transaction VA41 - scroll bar moves down

    Hi,
    since the migration of 4.7 to ECC6, we see a problem of display on VA41 transaction(Dympro 4001). We would like to know if it is a normal functioning or a an anomaly.
    in ECC 6 :
    As soon as we fill a datum on the screen (item overwiew), the scroll bar comes down automatically and move to the bottom, on the last item. The focus moves under the last item.
    in 4,7 :  The focus moves under the last item and the scroll bar don't move.
    Is this behaviour OK in ECC6 ?
    thanks

  • JTable column movement and scroll bar

    Hello:
    I have a JTable with about 30-40 columns. Sometimes I would like to drag the column from rightmost to closer to the left end. I am not able to do that in one shot. and instead have to do it in multiple steps. Is there a way for the scroll bar to sort of move alongside the column as I drag it along?

    i dont know if there is way off hand. But you can put your own mouseListener of the JScrollPane and i am sure there is some method to check if you are dragging the JTable and if you are move the JScrollBar in the direction.
    I think that you are going to have to make you own implementation of this.
    David

Maybe you are looking for

  • Free Issued material from client

    Hi Gurus, I have a scenario where we have manufacturing line of standard products. We use standard PP funcationalities. Only non-standard requirement is few orders where part of the material is FREE ISSUED by client. I do not want to create different

  • Delivering demo or trial versions of a product - best practice?

    Hello there RoboHelp gang, I am using RH8 HTML to create a knowledge product for commercial resale to clients and customers.  One of the things I need to do is offer a 'trial' version of the end the end product.  I imagine doing this by creating an i

  • Problem passing a table parameter in rfc call using the function control

    I try to pass a Table as parameter to a Function Module using the SAP.Functions library (part of SAP frontend controls) from a Visual Basic (VBA) program. The function module has been verified to work when invoked from SAP FrontEnd Function Builder.

  • Connecting to wi-fi correct password is rejected

    When connecting to a recognized wi-fi router, the valid password is rejected. Has anyone got any work-arounds or fixes for this problem?

  • Preview output error for bid

    Hi, I have an issue in Bid output.When I tried to preview output for the bid invitation, I am getting error Business Partner Does not Exist.I checked the data maintained for the bidder which looks fine.Which business partner it could be referring to?