Updating dataprovider causes mess when scrolling in AdvancedDataGrid

Hi
I have a problem using AdvancedDataGrid :
I bind the ADG dataprovider to a XML in my model, like this :
       <mx:AdvancedDataGrid
            <mx:dataProvider>
                <mx:HierarchicalCollectionView filterFunction="{model.filterFunction}" source="{hierarchicalData}"/>
            </mx:dataProvider>
            <mx:columns>   
                <mx:AdvancedDataGridColumn labelFunction="{model.menuLabel}"/>
             </mx:columns>
       </mx:AdvancedDataGrid>
    <fx:Declarations>
        <mx:HierarchicalData id="hierarchicalData" source="{model.myXML.xmlNode}"/>
    </fx:Declarations>
When I start the application, the ADG displays poperly my model.
Then I programmaticaly add a node to myXML in my model, the ADG renders it and adds a row. So far so good.
Then when I scroll vertically in the ADG, some rows are added or removed, or the mouse highlighting jump to another line... Total mess.
I read that this may be because ADG recycle renderers and so we have to override the "set data" function in renderer. But here I don't use renderer but labelFunction.
And I don't have the problem when scrolling, until I change the dataprovider.
Do you have an idea ?

can you post your source project? you must be addding the node the array collec
tion more then once??? maybe. I wouldnt be able to tell unless you posted your project and we can take a look at it.
Miguel

Similar Messages

  • When scrolling in photos iPad mini freezes since ios 7

    Will there be an update that fixes problems when scrolling in photos in ios7

    No you're not the only one having this problem in fact many people are having it I spoke to Apple support today about it. First it is my opinion the aspect ratio is different on iPhone 4s compared to iPhone 5s, however I really feel it is a software issue. Just to make sure I am having the same problem you are I will describe my issue. I Have confirmed the following: if I Center an object on my iPhone 4s screen and open the picture while I am still in the app (open on the bottom left it)looks fine. But when I open camera roll and open that particular picture it's also fine
    Until I scroll left or right it pulls the image to the left side appearing to cut off the left side of the image. After talking to Apple support today and my knowledge with Apple products I strongly suspect this is a software issue. Apple asked me to do a restore as a new phone but I'm not going to go through all that nonsense when I believe it's a software issue and not a hardware issue. So again to recap to answer your question you're not alone, theses sort of things are expected when they rollout a new iOS just hang in there and let's see if they put a patch out for next update.

  • Since updating to 18.0 for mac, my scrollbar has been distorting when scrolling; started ~2 days after updating.

    The odd thing is that it is an on and off issue, meaning that sometimes the scrollbar distorts when scrolling, and sometimes it doesn't, and it started doing this about 2 days after updating. It didn't start immediately, which I find kind of odd. Is this just a graphical glitch? I'm pretty sure it is. I'm using Snow Leopard 10.6.3.

    '''Try the Firefox Safe Mode''' to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.''
    ''(If you're not using it, switch to the Default theme.)''
    * You can open the Firefox 4.0+ Safe Mode by holding the '''Shift''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Don't select anything right now, just use "'Start in Safe Mode"''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again.''
    '''''If it is good in the Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one.
    Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''

  • When scrolling vertically there is an horizontal line which causes distorsion of the screen. I do not have noticed such concern on my iMac or on my macbook. What happen with the macpro ?

    When scrolling vertically there is an horizontal line which causes distorsion of the screen. I do not have noticed such concern on my iMac or on my macbook. What happen with the macpro ?

    MacPro bought in 2010
    MacBook Pro
    MacBookPro7,1
    Intel Core 2 Duo
    2,4 GHz
      Nombre de processeurs :          1
      Nombre total de cœurs :          2
      Cache de niveau 2 :          3 Mo
      Mémoire :          4 Go
      Vitesse du bus :          1,07 GHz
      Version de la ROM de démarrage :          MBP71.0039.B0B
      Version SMC (système) :          1.62f6
      Numéro de série (système) :          W804853GATP
      UUID du matériel :          716CB476-983B-5C43-B363-988FB608C01C
      Capteur de mouvement brusque
    État :          Activé
    System:
    Mac OS X 10.6.7 (10J869)
    Darwin 10.7.0
    Video DIsplay Card
    NVIDIA GeForce 320M :
      Jeu de composants :          NVIDIA GeForce 320M
      Type :          Processeur graphique (GPU)
      Bus :          PCI
      VRAM (totale) :          256 Mo
      Fournisseur :          NVIDIA (0x10de)
      Identifiant du périphérique :          0x08a0
      Identifiant de révision :          0x00a2
      Révision de la ROM :          3533
      Moniteurs :
    LCD couleur :
      Résolution :          1280 x 800
      Profondeur de pixels :          Couleurs 32 bits (ARGB8888)
      Miroir :          Activé
      État du miroir :          Miroir matériel
      Connecté :          Oui
      Intégré :          Oui
    Is that what you asked ?  Do you need other data ?
    Note that I have also strong distorison when running slides show with iphoto.
    Thanks

  • I have MacBook Pro bought 2011. After downloading update for Canon digital camera, computer screen is flickering (like curtain moving in breeze) when scrolling on all websites (slightly less with Safari )

    I downloaded from Canon website an update to my Canon 750 IXUS digital camera. It downloaded various software products onto my computer which are outlined in the computer's database of software applications. From that time, this flickering effect occurs when scrolling through all pages using Firefox and to a lesser extent on Safari. It is like the effect of someone blinking rapidly and constantly and looking at the screen. When not scrolling there is no such effect. It is very disruptive when trying to read a page.

    I downloaded from Canon website an update to my Canon 750 IXUS digital camera. It downloaded various software products onto my computer which are outlined in the computer's database of software applications. From that time, this flickering effect occurs when scrolling through all pages using Firefox and to a lesser extent on Safari. It is like the effect of someone blinking rapidly and constantly and looking at the screen. When not scrolling there is no such effect. It is very disruptive when trying to read a page.

  • Ios6 update has done something to you tube icon and now I can't see videos. Flash player required message and a black bar appears when scrolling. Any ideas? I've booked an appointment at the Genius Bar next Saturday but don't want to waste their time

    iOS 6 update has done something to the YouTube icon and now I can't see videos when following the new link in the bookmark bar. Flash player required message appears and there is a black bar when scrolling.

    YouTube is  not now part of iOS 6. However, you can download the YouTube app at http://itunes.apple.com/app/youtube/id544007664.
    See this similar post https://discussions.apple.com/thread/4335468?tstart=30
     Cheers, Tom

  • After installing Snow Leopard on MacPro with 23" HD monitor I have noticed an anomaly when scrolling up or down, a horizontal ripple appears briefly, I have tested other browsers and there is no problem, only in FF 8. What is causing this?

    After installing Snow Leopard on MacPro with 23" HD monitor I have noticed an anomaly when scrolling up or down, a horizontal ripple appears briefly, I have tested other browsers and there is no problem, only in FF 8. What is causing this?

    Hi applecore_eater,
    When Leopard came out, machines were shipping with Tiger for 3-5 months after it's release. So the fact that you bought a machine with Leopard still installed is not uncommon, especially considering we're not even a month into release. Matter of fact, I'd be surprised to see a lot of machines (unless CTO) that are coming with Snow Leopard.
    The battery issue is not specific to Snow Leopard or the MacBook Air. I've deployed SL to about 15-20 MacBook Airs and all of them have been perfectly fine (batteries).

  • The ios8 update is causing innumerable problems with my ipad. The info from my calendar just disappeared, I am typing blind with the keyboard most of the time, and I cannot upload pics or paste to FB. When will this be fixed and what can I do in the

    The ios8 update is causing innumerable problems with my ipad. The info from my calendar just disappeared, I am typing blind with the keyboard most of the time, and I cannot upload pics or paste to FB. When will this be fixed and what can I do in the Meantime?

    Have you tried yesterday's update to iOS8.0.2?
    iOS 8.0.2
    This release contains improvements and bug fixes, including:
      •  Fixes an issue in iOS 8.0.1 that impacted cellular network connectivity and Touch ID on iPhone 6 and iPhone 6 Plus
      •  Fixes a bug so HealthKit apps can now be made available on the App Store
      •  Addresses an issue where 3rd party keyboards could become deselected when a user enters their passcode
      •  Fixes an issue that prevented some apps from accessing photos from the Photo Library
      •  Improves the reliability of the Reachability feature on iPhone 6 and iPhone 6 Plus
      •  Fixes an issue that could cause unexpected cellular data usage when receiving SMS/MMS messages
      •  Better support of Ask To Buy for Family Sharing for In-App Purchases
      •  Fixes an issue where ringtones were sometimes not restored from iCloud backups
      •  Fixes a bug that prevented uploading photos and videos from Safari
    For information on the security content of this update, please visit this website:
      http://support.apple.com/kb/HT1222

  • Why does firefox update itself even when i tell it not to? Everytime it updates itself it messes up and crashes, make it stop. I like firefox but if I keep having to unistall and reinstall it ever month to every other month I am going to be done with it

    Fire Fox updates itself even after I tell it not to. The new version it updates to crashes, adobe flash player doesn't work on it and it takes forever to load when it does work. I have used fire fox for years now but if this keeps up I will find something else to use.
    == This happened ==
    A few times a week
    == When you came out with fire fox 6.6 or whatever

    I also have this problem of Firefox updating by itself even when I turn off auto-update.
    For whatever reason, there are situations where you do not want to update or download a large file, because you're working offline, have a slow connection, or have a very low download allowance etc. Usually the update doesn't work and cause Firefox to crash. After that it cannot be started again. This is with Firefox Portable but I think I've had this problem the normal Firefox. With the portable version I can just back up a single folder but it is still time wasting and annoying.
    I've noticed that when I start Firefox with auto-update turned off, it changes the options to auto-update, it also does this periodically. So every time I start Firefox I have to turn off auto-update, and I have to do this from to time because Firefox will by itself turn back on the auto-update.

  • Firefox 37 Beta on Windows 8.1 has lag and stuttering when scrolling

    I just recently got a new laptop, and since the minute I've installed firefox on it there has been lag when scrolling webpages. It seems to start off not too badly, with there being some stuttering when I first open firefox, however it seems like the longer I'm browsing the worse it gets, to the point where sometimes I'll start scrolling and then a second later firefox will just jump to the bottom of the page. Internet Explorer and Chrome both have perfectly smooth scrolling.
    I've tried numerous things to fix it already, this is some of the stuff I can remember trying:
    -Turning off hardware acceleration and smooth scrolling
    -Starting in safe mode
    -Complete reinstall with new profile
    -Updating graphics card and intel drivers
    Specs of the new laptop:
    Core i7
    GTX 970M
    16Gb RAM

    When I was trying different versions of Firefox to see if they all had the scrolling problem, I made sure to try 36, 38, and even 31.5 ESL portable. They all have the scrolling problem when my laptop is unplugged. However, when I tried Tor just to see what would happen - bingo! Perfectly smooth scrolling once more. This is especially weird as Tor uses 31.5.3 ESL as a base...
    This made me think that it could potentially be a plugin, as Tor doesn't have any plugins installed other than Flash. However, after first disabling, then manually removing, every plugin that was listed in about:plugins the problem continues to persist.
    Any idea why Tor would work flawlessly while every other version of firefox suffers the scrolling issue? I couldn't seem to remove the OpenH264 Video Codec provided by Cisco Systems, plugin. Is it possible to remove it in order to see if it is causing the problem?

  • Using a new monitor, Mozilla Firefox now has a distracting horizontal line every few lines when scrolling. This doesn't happen with another browser. HELP!

    The horizontal, wavering "line" is disruptive when scrolling. What's causing this. Doesn't happen with other browser and I'd like to stay with Mozilla Firefox, if we can resolve this. Thank you.

    hi Liza5, maybe that's an issue with hardware acceleration - please try [[Upgrade your graphics drivers to use hardware acceleration and WebGL|updating your graphics driver]] or in case there is no new version available at the moment or this doesn't solve the issue, disable hardware acceleration in the firefox ''menu ≡ > options > advanced > general'' (that setting will take a restart of the browser to take effect).

  • Flash CS4 crash when scrolling

    Hi,
    Today one of our artists started experiencing a crash in Flash CS4 Professional when scrolling the workspace around in one of his .fla files.  All he has to do is hold down the spacebar and scroll around with the mouse; or use the scrollbars to scroll around.  It has crashed about 10 times in the last hour, and we copied the file over to another machine and saw the crash there as well.  We've only seen it occur with one particular file.
    The machines are both Intel Core i7 machines with 8GB of RAM and two different video cards, one running Windows 7 and the other running Vista; and the crashes cause the Adobe "let me report this crash to the mothership" dialog box, so I don't think it's video card driver related; I think it's just a bug in Flash Professional.  We're running version 10.0.2 with no updates available to Flash Professional when choosing "Updates..." from the Help menu.
    Anybody else seen this?  Any workarounds?  Any way to get Adobe to fix it?
    Thanks - BD

    Hi Jen,
    I'm putting the file up on our website for you to grab.
    Please treat this file confidentially.
    Point your web browser to http://www.torpexgames.com/adobeflashcs4 where the username is "addeden" and the password is "cs4bluetop".
    We included the fonts we're using, too.
    Thanks,
    Bill Dugan
    President
    Torpex Games
    [email protected]
    425 644 4263

  • New iMac late 2012 judders when scrolling up and down

    new iMac 27" i7 quad core late 2012 the web pages judders when scrolling up and down

    Hi,
    The judder was up and down when scrolling, I think that I have resolved the issue regarding the juddering, I looked at what software I had recently installed, first I removed the software that I think was causing the juddering problem! it was a bit better but did not remove it completely, AutoCAD 2013 was the software that seems to be the culprit which must have messed up the graphics diver someway.
    In the end I erased the hard drive and set the OS back to it's factory settings, which has resolved this juddering issue.
    NB: when restoring the OS I lost ilife.

  • Embedded swf "jumping" when scrolling an html page

    Hello!
    I have created a banner file in Flash and when embedding an swf file on the html page the swf banner appears to be "jumping" up and down when the page is longer and needs to be scrolled. This only happens when scrolling the page.
    I put up an example here:
    www.selkografiikka.com/test/coaching4.html
    You can see the black swf box jumping towards the red dots when scrolling.
    This turns out to be a problem on a website I'm working with since it's creating a rather nervous vibe to the whole feel of the site - example here:
    http://www.selkografiikka.com/tindra/index.htm
    Any ideas what's causing this?
    I am using Dreamweaver and Flash cs3.
    It seems to be a problem in all the browsers.

    Thank you Jon and Nancy for your replies.
    Sorry it took me a little while to figure out how to reply here.
    I’m happy this is not a problem on each computer according to your replies.
    I believe Java Script would be more up to date way of doing this, but the original idea was more complicated – with animated text and such so that’s why flash. I thought just to make a static picture that will show in ipads and such when flash is not supported.
    I can still see that jumping thing although I updated my flash player and otherwise have just the same browser versions as Jon.
    I might consider switching the animation part to javascript animation.
    Thank you guys!
    Liisa

  • Blurry websites when scrolling with mouse

    I recently did a Firefox update and now when I scroll up and down with my mouse pad, the wording goes blurry until I stop scrolling.

    That can be caused by smooth scrolling that has been enabled by default in Firefox 13
    *Tools > Options > Advanced > General: Browsing: "Use smooth scrolling"

Maybe you are looking for

  • Replacing macbook pro display

    Hi All, Have anyone ever replace their macbook pro display? I just want to know how much is it. I have the original macbook pro with 2.33 GHz processor. It seems I have caught the well known smudge issue on the screen. The thing is, the machine still

  • Select query giving Time out dump

    Hi All,     I have written a select query on a table in BW system.The code for the same is attached below.The table contains some 6,00,000 records.This query is giving a time out error.Kindly look into the query and advice ways to make it work.Thanks

  • As soon as I open Firefox, wheel infinitely spins until I force quit. What do I do? ??

    As soon as I open Firefox and my homepage (Google) loads, the spinning wheel starts and never stops. I can't reset Firefox because the wheel starts before I can click Help. This has never happened before. I haven't updated or installed anything new t

  • Shared memory Problem

    Operating system Windows 2003 Server When i am trying to connect to the oracle 10g database we are facing the following error.. ORA-04031: unable to allocate 4096 bytes of shared memory ("shared pool",select /*+ rule */ bucket_cn...","Typecheck heap"

  • Total of fields.

    Hi All, How to sum up all these fields: HSLVT, HSL01, HSL02, HSL03, HSL04, HSL05, HSL06, HSL07, HSL08, HSL09, HSL10, HSL11, HSL12, HSL13, HSL14, HSL15, HSL16 just in a one select statement?.. Please help..