Madness of scrolling DataGrid

Hi all.

I'm trying to get a container to scroll when a datagrid is scrolled.

Y at - it an easy way to do it.

I am aware of the v and h scrollposition properties, but the difference how the datagrid scroll causes the two sync scrolling elements.


Any help is greatly appreciatted

Hi, you can do this as a percentage. Here is an example (right click to view source):
http://www.anaheimjobs.NET/samples/linkscroll/
Hope you find it useful.

Tags: Flex

Similar Questions

  • Flex4 DataGrid - mouse outside the data keeps scrolling DataGrid grid

    Hello

    the DataGrid control has the following behavior: when you click on the DataGrid control and move the mouse upwards on top of it and hold the mouse on top of it, the guard UPWARDS scrolling DataGrid control. When you move the mouse under the bottom of the data grid, the DataGrid scroll guard DROP.

    I am optimize my app for touch devices, and when the user moves his finger on the DataGrid from the bottom to the top, I left the DataGrid scroll in the same direction, which is in DECLINE. If the user now moves his finger beyond the upper limit of the data grid, the DataGrid changes the direction of scrolling.

    How can I avoid scrolling the DataGrid when the mouse moves outside, or how change the direction of scrolling the DataGrid?

    Thanks in advance

    LLD

    You can have to subclass DataGrid and override the dragScroll method.

  • When scrolling DataGrid line borders

    I have a DataGrid using verticalScrollPosition property.

    It works fine except that it displays a few unwanted blue borders around the cells of the "current" line and also the scrolling animation is not smooth as expected.

    Any help is greatly appreciated. Thank you

    try disabling your datagrid focusRect property to see if that gets rid of the unwanted border.

    You can try to increase your framerate, but there is probably no other much more simple, you can do animation, unless someone is ready to download your fla and work on it for you.  because you are probably not scrolling coding yourself (and using the feature of dg), you are limited to improve the performance of you app.

  • Scrolling DataGrid problem

    Hi again,

    With the help of beta 3. I have a DataGrid with a series of pieces of information on this subject. When the user selects an item in the grid, I have a canvas that I show on the bottom third of the grid that gives details about the selected item. The problem is I want the element of grid selected to become the first visible item in the grid. This is particularly important in cases where the user selects an element that is in the bottom third of the grid and which is covered by the canvas when they select this item.

    So, is it possible to force the scroll of a DataGrid?

    Thanks, Jim

    It's very close. I'm trying remember what to verticalScrollPosition value. I'll post if I can understand it.

    Ah, try
    DG1.verticalScrollPosition = dg1.selectedIndex

    Tracy

  • Drop-down lists to DataGrid scrolling through the grid reset

    I have a datagrid that contains two columns with drop-down menus. The drop-down list values are defined by program to the given index. But when the grid scroll bar is made to scroll up and down and then back up the selected values to reset. Any idea of this behavior?

    Yes. point converters are "recycled". Flex creates only for the visible rows. When you scroll, item for item data is scrolled position are sent the converter (through the set data() setter), who must use these data to render its visible state.

    This means that all aspects of the item converter must be controlled by the data. You can't do a data-oriented work to initialize or create complete, but need to override the set data() method. Best practices is actually a little more complicated Quen only. You must place the selectedIndex property of the ComboBox value stored within the item renderer.

    Google: Alex Harui point converter recycling

    For a full explanation and examples.

    Tracy

  • Spark Datagrid on a mobile application, handling scrolling problem

    I have a datagrid spark on a mobile application, I put the

    interactionMode="touch"

    and the scroll of the dataGrid control is good, I had a few problems by adding a selectionChange eventListener, because the scroll dataGrid will automatically change the selection and instead, simply scroll it, binded function will begin...

    How can I prevent this?

    <s:DataGrid id="lista"  top="350" bottom="50" right="0" left="0"
    
    
    dataProvider="{listaPdv}"
    
    
    verticalScrollPolicy="auto"
    
    
    rowHeight="100"
    
    
    selectionColor="#b64947"
    
    
    skinClass="skins.dataGridSkin"
    
    
    itemRenderer="components.dataGridItemRendererText"
    
    
    fontFamily="Verdana"
    
    
    fontSize="30"
    
    
    interactionMode="touch"
    
    
    horizontalScrollPolicy="auto"
    
    
    
    selectionChange="datagrid_select(event)">
    
    

    Help... It's really annoying and I can't scroll datagrid...

    I solved it by using workaround... bind the selectionChange event instead, I've linked the mouseDown and mouseUp and then check the time between the two actions and if the time is less then a defined value, the selectionChange event is dispatched...

    sortableColumns = "false".

    rowHeight = "100".

    interactionMode = 'touch '.

    mouseDown = "grigliaData_mouseDownHandler (event)" "

    mouseUp = "grigliaData_mouseUpHandler (event)" "

    Top = "230" left = "5" right = low "5" = "50".

    dataProvider = "{listaEventi}" width = "100%" height = "100%" >

    As a Code

    private var _lastClickEvent:int;

    protected function grigliaData_mouseDownHandler(event:MouseEvent):void

    {

    _lastClickEvent = getTimer();

    }

    protected function grigliaData_mouseUpHandler(event:MouseEvent):void

    {

    If (getTimer()< _lastclickevent="" +="" 200)="" 200="">

    {

    Back to selectedIndex

    }

    }

  • Logitech Optical Mouse "Wheel" can not be configured to scroll by rotating the wheel.

    Universal scrolling and automatic scrolling are the only choices in the menu. Windows XP Edition version family. Optical mouse on the PS/2 port. What needs to be done to configure the mouse so that the wheel can be made to scroll by turning?

    What to do and mouse model is? Have you downloaded and installed the driver and software from the manufacturer for it?

    SC Tom

  • Scrolling the mouse stuck with (Windows 7) wireless mouse

    I have an optical mouse Labtec wireless for laptops. It causes a scrolling to happen unintentionally with the sliders and the drop-down lists, as long as the mouse is positioned on the element.

    For example:

    (1) when I joined these forums and had to choose a country made mouse scroll down to the bottom without my intervention (other than by selecting the menu drop-down). Almost all the drop-down boxes tend to be done regardless of what program it is in.

    (2) if I try to adjust the volume in the system triggers the sound mouse tray even when I'm trying to lower it.

    (3) in some programs of the mouse scrolls the page automatically. It does not work with all programs. Chrome, IE, Firefox, Acrobat, Notepad and many others is not affected.

    (4) I don't have these problems with XP at all, but I did when I used Ubuntu (mouse would scroll the tabs and cycle always to the first area of the taskbar of Ubuntu.) I had to alt - tab to switch windows).

    (5) for my first installation of Chrome, the mouse would be automatically scroll the tabs to the first even if I haven't done stationary above the tabs. I could could properly select another tab if I clicked it and then left mouse tabs quickly.

    I did which solved the problem:

     " The document suggested to change some registry values to disable this behavior of high resolution. So I did exactly cela and adds the following entries 2 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\HID\Vid_xxxx & Pid_yyyy\\Device Parameters

    VScrollHighResolutionDisable  = 1

    HScrollHighResolutionDisable  = 1


    ( http://social.technet.microsoft.com/Forums/en-US/w7itprohardware/thread/71db7003-45b1-4fbc-844f-da4894c20036/)

    (5) I tried to open the mouse and by removing the mouse wheel. This had no effect. I couldn't scroll through manually, but the mouse would be automatically scroll.
    I'm puzzled. Can anyone help?

    Seted Hello,

    Thank you for your message.  Have you tried to use a different mouse or port on your computer?  In addition, you can try using your mouse on another computer to see if the behavior is the same, in this case, the problem may be with your mouse.  Please let us know.
    See you soon

    Engineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • Images scroll box

    What I have is an image file very long I want to scroll in a stationary box on my page. There seems to be a lot of custom widgets for text that scrolls vertically; Maybe is one in which I can put my picture as a fill? And who can be made to scroll horizontally?

    You're probably better off using one of the iFrame widgets and just put your picture in it.

  • Effect of movement of scrolling not smooth enough Muse

    Hi guys

    Can create us this made feathers scroll motion effect as shown on this site:

    http://www.kaushikichakraborty.com/

    (pls check the Persona Section)

    I tried in Muse to create the same effect of movement of scrolling of feathers but is not smooth enough as stated on the website:

    pls download this file (544 KB - Muse 7.4)

    pls tell me how to create this effect.

    Thanks in advance.

    Hello Sanjay

    The object stops at the moment you stop the scrolling of the scroll page. In the example site, the pen continue to scroll down a little once you stopped scrolling the page. This kind of effect is not possible in Muse.

    Kind regards

    Aish

  • Change the first column seen in the datagrid by code?

    Hello

    Is anyway to change the first column in a DataGrid using action script? I mean, for example, think I have 10 columns, only 3 are seen (0,1,2). I just want to have a button to change the first column view. Thus, for example, if I press it, 1.2, and third column will be those that is displayed in the datagrid control. I need to emulate the same thing that the scroll bar when you drag in a datagrid, but instead of letting the scroll bar does that automatically, I want to "scroll" datagrid manually.

    Moreover, is anyway through datagrid children and hide the scrollbar manually?

    Thanks in advance,

    Aron.

    horizontalScrollPolicy

  • Why PDF files linked on my website appear off-center opening?

    I created a website (not yet published), in which I have linked some of the PDF files. When I discovered these files in preview mode, the file pages all appear biased, that is, they are positioned right on the page with a large, empty margin on the left. This happens only when I view in Mozilla Firefox, and not in other browsers such as Internet Explorer and Google Chrome. This could be the cause and how can I rectify?

    Personally, I hate how browsers are default to open PDF documents in the browser. You can set it to download the document in Firefox, and then automatically open in Adobe Reader solve your display problem.

    To do this, click on the Orange FireFox icon at the top left. (If you have implemented the menu bar click on the Tools button.)

    Now, click on Options. Choose the Applications made tab scroll Format de Document Portable. Right click on the list of dropdow. Choose the other. Then choose Adobe Reader in the list. This means of course that install you Adobe Reader. Don't choose Adobe Reader in the browser, because it simply means it will open with Adobe in the browser. That can sometimes Firefox crashing or stalling on if the PDF file is large. I hope this helps.

  • I can't browse photos

    When I want to upload a photo on a site like eBay and Facebook etc pictures is always dimmed in the browser window that opens on my Mac so I can not enter. Can you help me please? I use El Capitan

    Clicking on the button at the top left to reveal the side menu then used the media option. Made me scroll through the photos.

  • installation of dot net 3.5

    Hello - I have just update an xp (32 bit) system for vista - I need to install .net 3.5 - I got the download but the installation

    has failed - what is the best way to debug this?

    Vista & new OS works different abit of xp. To install .NET 3.5, you must assign the OS for it. Simply

    type of race, or cmd, open: appwiz.cpl Add/Remove, locate windows L.sub-menu, made components scroll

    to enable editing maybe .NET 3.5 other boxes when out through... .NET updates to use windows update

    Catalog, here is the link, and once opened, you must install the Microsoft ActiveX software to access.

    http://catalog.update.Microsoft.com/v7/site/home.aspx

  • Photosmart HP 7510: FAX does not

    Hello

    I tried to send an eFAX for my printer HP 7510. Pages feeding okay of the printer, but the printer then realized that "the your printer is not connected to a network." If please connect to a network and try again. "To test the system, I tried to print a document to the printer wireless. And he printed ok. I tried the eFAX and I got the same error message.

    Thank you

    Tony

    Hi @megabyte,

    Welcome to the community of HP,

    I understand that you are having problems try to send a printer HP 7510 eFax, and I want to help him.

    Below, I've posted a link to a document that offers solutions of troubleshooting on this issue. When you open the made link scroll 'Impossible to send a fax with eFax' section, please try all the steps in order and get back to me with the results.

    HP Photosmart e-all-in-one 7510, Printer series (C311) - cannot be sent or not to receive faxes with eFax

    I hope this helps.

    If this help will testify of my answer by hitting the thumbs to the top slot

    Click on the button "Accept as Solution" if I helped you reach a solution.

Maybe you are looking for