List vertical scroll bar position change issue

Hi all,
List selection makes the list jump (scroll) up moving the selected entry to top any idea on this issue.
regards,
karthik

Try it in a simple test case.  I don't think that is default behavior.

Similar Messages

  • When and How to get the Text.ScrollPos value of a String control when scroll bar position changed

    Hi, 
    I'm working on a feature triggered by scroll bar position of a string control changed.
    But I could not find a good way to catch the scroll bar position changed event, 
    the scroll bar is controlled manually by mouse down → mouse move → mouse up, I want the get the Text.ScrollPos value when user mouse up, and compare with the maximum value.
    But the problem is,  mouse up on the scroll bar could not trigger String: Mouse up event!
    So I have to get the Text.ScrollPos continuously in the background in Timeout event, but I think it’s not efficient.
    Do you have any better idea on when to get the correct destination value of Text.ScrollPos?
    I plan to store the value of Text.ScrollPos in the bottom(maximum value) in a shift register, then compare the current Text.ScrollPos value with the max one.
    If it comes close to the bottom(90%~100% of the maximum value), then the close to bottom LED will turn on.
    Attachments:
    scroll bar pos changed.vi ‏15 KB

    Hello Cecilia,
    I don't think there is any build-in event for this.
    One solution would be to create your own user event at the initialisation of you main and launch a thread which is going to be pulling the value of your scrollbar position:
    Then you can build your main as if they were a scrollbar move event.
    And dont forget to close the thread and destroy the event at the end.
    Hope it helps.
    Attachments:
    Scrollbar event.PNG ‏10 KB

  • ScrollPane vertical scroll bar positioning

    I have a ScrollPane that holds a number of number of sprites. The sprites are like rows and I would like them to fill the width of the ScrollPane.
    My problem is that if there are not enough sprites to fill the vertical space of the ScrollPane, then no Scrollbar appears and there is a narrow gap left on the right side of the ScrollPane. If I make the sprites wider, when the vertical scroll bar does appear some of the sprite is cut off and the horizontal scroll bar appears (I never want the horizontal one to appear).
    Is there a way to move the scrollBars? or perhaps another way to solve my issue?

    assign your sp's horizontalScrollPolicy (and/or verticalScrollPolicy) to "off".

  • DataTable Scroll bar Position Changing

    Hi,
    I have a datatable with scroll bar on 'A' screen and when I go to 'B' screen and come back to 'A' screen again the data table reloads and showing the table from the first record onwards instead of showing the selected n th record by holding the scroll bar state.
    Is there any way to scroll the scroll bar of a data table to the particular record either by backend logic or by java script.
    I used h:PanelGroup to the data table for scroll bar.

    That's getting harder. Put the tables in a block element, e.g. div, and onload set div.scrollTop to the amount of pixels it have to be scrolled. I am not going to give raw code here as you're here in a Java/JSF forum, not a Javascript/DHTML forum. If you still stucks, even after googling on the given keywords, consult DHTML forums like dhtmlcentral.com and dynamicdrive.com.

  • Help with a vertical scroll bar issue with a List component

    hi. i have a basic <s:list> that uses an XMLListCollection as it's data provider and a very basic itemrenderer. when a row in the list is clicked a function gets the list.selectedIndex then populates some text fields with more xml data. that all works fine.. the problem i have is that the vertical scroll bar on the list seems to be "clickable" - just like a row in the list. the scroll bar scrolls normally but when it's clicked the selectedIndex becomes -1 which is not helpful b/c the value -1 is passed to the XMLListCollection.
    any ideas? cheers.

    thanks but still problematic...surely the <s:List> component shouldn't return a value when the scrollbar thumb is clicked? i created a very basic list (see below) and made the list dimensions short enough so that there is a vertical scrollbar and found that when the scrollbar thumb is clicked the trace(event.currentTarget.selectedIndex) returns a number. that's annoying b/c i just want a selectedIndex value for a row that is clicked not the scrollbar.
    any ideas to get around? cheers
    <fx:Script>
    <![CDATA[
    protected function list1_clickHandler(event:MouseEvent):void
    trace(event.currentTarget.selectedIndex);
    ]]>
    </fx:Script>
    <s:List x="162" click="list1_clickHandler(event)" y="276" labelField="@label" width="144" height="153">
    <s:dataProvider>
    <s:XMLListCollection>
    <fx:XMLList xmlns="">
    <node label="one"/>
    <node label="two"/>
    <node label="three"/>
    <node label="four"/>
    <node label="five"/>
    <node label="six"/>
    <node label="seven"/>
    <node label="eight"/>
    <node label="nine"/>
    <node label="ten"/>
    <node label="eleven"/>
    </fx:XMLList>
    </s:XMLListCollection>
    </s:dataProvider>
    </s:List>

  • Flex Tree Vertical Scroll Bar Issue

    When i click on the + image of flex tree than first time the vertical scroll bar is not coming but when when i minimize it and again click on + than it appears can any one tell me what is the issue??

    Hi Rob,
    I have tried changing styles of those div's in  which I have my dropdown's are there but it didnt work.
    Below is the code for reference:
    <div class="k-animation-container km-popup" style="width: 250px; height: 206px; margin- padding- padding-right: 10px; padding-bottom: 15px; display: none; "><div class="k-list-container k-popup k-group
    k-reset" id="MaintenanceType-list" data-role="popup" style="height: 200px; display: none; font-family: 'Segoe UI', Verdana, Tahoma, Arial; font-size: 11px; font-style: normal; font-weight: normal; line-height: normal; width: 244px; -webkit-transform: translateY(-206px);"><ul
    unselectable="on" class="k-list k-reset" tabindex="-1" role="listbox" aria-hidden="true" id="MaintenanceType_listbox" aria-live="off" style=""><li tabindex="-1" role="option" unselectable="on" class="k-item"></li><li tabindex="-1" role="option"
    unselectable="on" class="k-item">AUX - Accessories belonging to EA group</li><li tabindex="-1" role="option" unselectable="on" class="k-item">ARL - Artificial Lift</li>
    Regards,
    Jyothi

  • Page shift due to vertical scroll bar issue

    I'm working through a vertical scroll bar issue in my design, using a ProjectSeven CSS page template. When testing the site in my browsers (FF/Safari/IE/Opera), and IF the scroll bar is not present, the entire page shifts to the left (the width of the scroll bar) when I click a link in the left column of my design. The page does not shift when the vertical scroll bar is present. Support at P7 suggested the following fix:
    html, body {
    height: 100.1%;
    margin: 0 0 1px;
    I've tried placing this markup in about ten different places but can't seem to find the right location in the code. Is it possible for someone in the forum to take a look at my page source and show me where/how to locate this fix?
    See my test site at:
    http://www.murcal.com/test_curvi_2.html
    Thanks .  .  .  .

    PZ,
    I'd like to place the fix where you've suggested, but that's the whole issue.
    I simply don't know where my CSS ends (duh). Is it possible that you show me exactly where?
    Hopefully this is the right section of my code:
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>PVII Curvitude</title>
    <link href="p7curvitude/p7CRVboxes982_2col.css" rel="stylesheet" type="text/css" />
    <link href="p7curvitude/p7CRV08.css" rel="stylesheet" type="text/css" />
    <!--[if lte IE 6]>
    <style>
    #navbar a {height: 1%; float: left;}
    </style>
    <![endif]-->
    <script type="text/javascript" src="p7pmm/p7PMMscripts.js"></script>
    <link href="p7apm/p7APM10.css" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="p7apm/p7APMscripts.js"></script>
    <link href="p7pmm/p7PMMh04.css" rel="stylesheet" type="text/css" media="all" />
    <link href="p7pmm/p7PMMh07.css" rel="stylesheet" type="text/css" media="all" />
    </head>
    <body>
    I've tried placing it in about ten different places, but I'm wrong everytime.
    Obviously, I'm a beginner trying to learn. I just can't seem to place it correctly.

  • In the viewer going to vertical scrolling bar I get a jump to original position...

    Scenario:
    In the viewer I'm working with the mouse vertical scrolling for searching some scenes, then I go to vertical the scrolling bar of the window to scroll in bigger steps... well, the viewer jumps to the previous position.. so I have to start my searching again.... and every time I go the vertical scrolling bar I get this jump to the original position... Very annoying....

    Do a malware check with some malware scanning programs.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br />
    <br />
    * http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    * http://www.superantispyware.com/ - SuperAntispyware
    * http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    * http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    * http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    * "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • JScrollPane - change vertical scroll-bar

    I am developing an application to be run on a touch-screen monitor. The customer has asked that I make the vertical scroll-bar on the tables easier to use. How do I set the width of the scroll-bar(s) in a JScrollPane?

    Do you want to set the width of all vertical scroll bars (and in that case, probably also the height of all horizontal scroll bars too) OR the width of one specific scroll bar of one specific scroll pane?
    db

  • Problem getting vertical scroll bar in tree

    Hi,
    I am adding nodes to a tree control dynamically. But somehow,
    a vertical scroll bar doesn't appear during the process. I guess,
    somehow, the tree is not able to detect the change in the height,
    hence, is not giving the vertical scroll bar. However, after a node
    has been populated with the sub-nodes, when I close that node and
    re-open it, then the scroll bar appears. I really need to fix it as
    soon as possible. Plz help!
    Thanks in advance,
    Cheree

    Seems like Flex 4 is working fine:
    This is the updated code working on Flex 4.6 using XMLCollection:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" applicationComplete="application1_applicationCompleteHandler(event)">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import mx.collections.XMLListCollection;
                import mx.controls.Tree;
                import mx.events.FlexEvent;
                import mx.events.TreeEvent;
                [Bindable]
                public var treeData: XMLListCollection=new XMLListCollection();
                private var hasRun: Boolean = false;
                //finalSrcList is the ArrayCollection that has value objects returned from data base by a remote object.
                public function populateTree(event:TreeEvent): void{
                    if (hasRun == false){
                        hasRun = true;
                        var parentNode:XML=event.item as XML;
                        var temp:XML;
                        var i: int;
                        var finalSrcList: ArrayCollection = new ArrayCollection();
                        // Prepare source list
                        for (i=0; i<10; i++){
                            var item = new Object();
                            item.attribute1 = "attribute " + i.toString();
                            item.attribute2 = i.toString();
                            finalSrcList.addItem(item);
                        for(i=0;i<finalSrcList.length;i++){
                            temp= <node label={finalSrcList[i].attribute1} id={finalSrcList[i].attribute2} isBranch="true"/>;
                            event.currentTarget.dataDescriptor.addChildAt(parentNode,temp,0);
                protected function application1_applicationCompleteHandler(event:FlexEvent):void
                    var rootItem: XML;
                    rootItem = <root label="root" id="1000">
                        <node label="level1" id="2000" isBranch="true"/>
                        </root>;                                   
                    treeData.addItem(rootItem);
            ]]>
        </fx:Script>
        <mx:Panel width="600" height="250" paddingBottom="20" paddingLeft="20" paddingRight="20" paddingTop="20"
                  verticalAlign="middle" horizontalAlign="center">
            <s:Label>
    This is using XMLCollection
            </s:Label>
            <mx:Tree id="funcTree" height="100%" width="100%" dataProvider="{treeData}" labelField="@label" showRoot="false"
                     itemOpen="populateTree(event)" />       
        </mx:Panel>                  
    </s:Application>

  • Focus vertical scroll bar in report div

    Hi everyone,
    I just want to know if the issue has been resolved by someone :
    I have a report within a div and a vertical scrolling bar to scroll the rows. When I click on a row of the report the row is highlighted. Now, if the clicked row is at the end of the report, the scrolling bar goes up, and the user has to scroll down to see the selected row. So how to focus this scrolling bar once the user clicks on the row ?
    I guess I have to compute the id of the selected row times the row height and send this value to the css parameter of the scroll bar (but AFAIK there's no such parameter in css for positioning a scroll bar) ... Someone has came up with a solution ?
    Best regards,
    Othman.

    Thanks a lot Andy,
    I didnt' know about the scrollTop attribute. So for those how are interested : Each time I click on a row, I store the scrollTop position in a Hidden field. On each body onload, I call a javascript function to position the scroll bar of the div like this :
    getElementById.("mydiv").scollTop = html_GetElement('P1_SCROLL_ID').value;
    Regards,
    Othman

  • Vertical scroll bar disappears when I minimize the screen

    I have Firefox 10.0.2. I do have a vertical scroll bar with both the up and down button; however, they all disappear when I minimize the screen. When I am in Ancestry, for example, when I minimize I get a horizontal scroll bar but there is no vertical scroll bar. I have no clue what to do. I minimize screens a lot when I am in Ancestry and it gets very frustrating. Can anyone help?

    Hi,
    Please check if this happens in [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode].
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > '''Use hardware acceleration when available'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u Options > Advanced]. All these settings/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme or hardware acceleration is causing issues.
    If the problem persists, you can also try disabling the '''Plugins''' in Tools > Add-ons temporarily to check.

  • Some new pages open without a vertical scroll bar...even tho the page is very long.

    It only happens with one particular vendors website. They can't explain it. Most of their web pages work fine.
    I selected an imbedded link from one page and a new browswer window opens and populates but there is no left margin vertical scroll bar. And there is lots of data below to view. CAnt get there from here.
    Damon

    Can you share the link to the page?
    Does it make any difference if you change the zoom level, such as by holding down Ctrl and tapping the + key or the - key a couple of times?
    New windows opened by a script can be customized by leaving out some elements. Presumably if they were doing that, they would know. However, just in case, you could prevent sites from removing the scrollbars from popup windows.
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box that appears above the list, type or paste '''window_o''' and pause while the list is filtered
    (3) Double-click the '''dom.disable_window_open_feature.scrollbars''' preference to switch it from false to true.
    (The name of this preference is difficult to understand, but it means that Firefox will block the site from turning off scrollbars on a new window if set to true.)

  • Vertical scroll bar disappears on the timeline?

    After I use the vertical scroll bar once it disappears and I am unable to scroll. If I click the film strip on and off, it comes back. Is there a way to always keep the scroll bar visable on the timeline?

    That has got to be a bug. Go to the Motion menu and Provide Motion Feedback... !
    Otherwise, you can scroll with your mouse. I use a mouse with a scroll wheel, but I think I remember the magic mouse has a scroll gesture(?).
    You can make the layers smaller by mousing over one of the lines in the layers list to the left of the timeline. The cursor should change to a double-pointed arrow. Click and drag the layers smaller.
    You can open the timeline window wider by mousing over the Timeline top border, and click drag to make it larger.
    I use this feature so rarely that I had never noticed before. When the scroll bar does appear, it's not "fully formed" either -- just a grey bar -- no resize controls on the ends at all.

  • Vertical scroll bar disappeared

    Vertical scroll bar gone--most annoying when trying to use my google calendar. I read the help responses and couldn't figure out what to do.

    This issue can be caused by the Babylon Toolbar extension
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration 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

Maybe you are looking for

  • Complete Button on Purchase Order

    Can anyone tell me when the Complete button becomes active on the purchase order?  We have had a few POs that have gone into Transaction Complete status even though there are no goods receipts against the PO.  It seems that the Complete button only b

  • Can't use the Calendar, Book, and Card functions

    I have updated my iLife programs to iLife 08 and cannot use the Calendar, Book, and Card functions as the program says the themes have not been installed. However, after looking in the Library/Applications Support/iPhoto folder, the themes are there

  • Workout Never Ends?

    Wondering if anyone (everyone?) else experiences this. If I do a timed workout (say, 45 minutes), the voice correctly gives me progress updates (every 5 minutes and half-way through), but there's nothing at the end of the workout. I would have expect

  • Safari and trend micro web site filter not working

    IE blocks web sites as defined by my web site filter in trend micro (pcillin) however, sites such as **** are not blocked when using safari. It is as if Safari is bypassing my firewall. Should I be concerned and how do I fix this.

  • Current qtr end date

    Hi experts, My below qry is working fine with sysdate but when m passing a date it's throwing an error to get the current qtr end date.. select add_months(trunc('20-dec-2012','q'),3) - 1 from dualERROR ERROR at line 1: ORA-00932: inconsistent datatyp