Error 1010 when vertically scrolling dynamically populated datagrid

http://www.mail-archive.com/[email protected]/msg49767.html
Here's an example of what I'm running into (and the code is
much neater). For some reason, as soon as I try to scroll
vertically, I get:
TypeError: Error #1010: A term is undefined and has no
properties.
at
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::scrollVertically()
at
mx.controls::DataGrid/mx.controls:DataGrid::scrollVertically()
at mx.controls.listClasses::ListBase/set
verticalScrollPosition()
at
mx.controls::DataGrid/mx.controls:DataGrid::scrollHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()
at mx.controls.scrollClasses::ScrollBar/
http://www.adobe.com/2006/flex/mx/internal::dispatchScrollEvent()
at
mx.controls.scrollClasses::ScrollThumb/::mouseMoveHandler()
Does anyone know the fix to this?

I have the same issue, I am adding columns dynmacially, the
grid columns are updated with user actions (add and remove)
Michael , I looked in Flex Coders and could find link for
possible solution
it seems from the posting that It would be solved if I call
validateDisplayList on the grid after.
can you point me to more information, ( and call this method
after what),
I appreciate response for this, this is crazy issue
Thanks

Similar Messages

  • Often, with 4 or 5 windows open, maybe 20 tabs total, firefox stutters when vertical scrolling pages.

    Often, with 4 or 5 windows open, maybe 20 tabs total, firefox stutters when vertical scrolling pages. A restart fixes it.
    I can often work all day with many more tabs than 20 open with no issues. So I'm pretty sure the issue is not a lack of system resources.
    This last time I've noticed it, it is after waking my Macbook Air from sleep.

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thank you.

  • Painting issue when vertical scrolling

    Hello!
    I have a flex app that when clicking on the vertical scrolling arrows buttons ( located at the top and bottom of the vertical scroll bar), some of the contents in the flex app gets grabled (for example the text gets cut off, the radio buttons shows up in weird places, etc.. ).  The image below will help ( the red box highlights the vertical arrow button) :
    But when I using the vertical scroll tracker or if I click on any part of the vertical scroll, the content goes back to normal.  Is there a simple solution to this issue i'm having?
    Just for your reference, someone else was having a similar issue:
    http://forums.adobe.com/message/1928317
    Unfortuntely, the solution provided does not look like it applies to my issue ('wmode')....
    Anyone can shed some light on my issue here?
    Mark

    The problem is that the 'wmode' isn't specificed to the call to 'AC_FL_RunContent().' .......i'm guessing yes???   Well, what is the default value?
    Here is what  the 'AC_FL_RunContent'  looks like in the html wraaper:
    AC_FL_RunContent(
              "src", "playerProductInstall",
              "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
              "width", "100%",
              "height", "100%",
              "align", "middle",
              "id", "app",
              "quality", "high",
              "bgcolor", "white",
              "name", "app",
              "allowScriptAccess","sameDomain",
              "type", "application/x-shockwave-flash",
              "pluginspage", "http://www.adobe.com/go/getflashplayer"
    Mark

  • Javascript error occurred when create a dynamic table

    Hi all,
    I try to create a dynamic table using the created recordset,
    but I get the javascript error message "While executing insertObject in DynamicTable.htm, a Javascript error occurred."
    How to fix it? I tried to delete the cache file in Configuration folder but it is not work..
    Any idea? Thanks a lot!

    http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html
    Try 12 & 4 and then go through the rest.

  • Firefox 8.0 disables touchpad vertical scrolling

    When vertical scrolling in Firefox, the scrolling icon appears on screen but no scrolling occurs. Scrolling works fine in IE, Word, etc. This has been happening intermittently for several months but now seems to be permanent. Oddly, scrolling works for about 30 seconds in Firefox after booting up the computer, but then stops working in Firefox while continuing to work in all other browsers/programs.
    Update:
    This answer does not work:
    https://support.mozilla.com/en-US/questions/892941#answer-270356
    This person tried the same solution and it did not work for them either:
    https://support.mozilla.com/en-US/questions/892636#answer-270016
    This person says they rolled back their touchpad driver and that worked:
    https://support.mozilla.com/en-US/questions/889913#answer-267877
    But my driver hasn't changed in years and works everywhere else, so that does not seem to be the source of my problem.
    11/13: Ok, thanks Firefox techs for trying so hard to address this problem. Just kidding. I'm switching to Opera.

    The slow / hesitant scrolling problem seems to be an artifact of the database Firefox uses to keep track of where you go, what you do, etc. It uses sqlite databases which get fragmented over time.
    There are several fixes:
    Some are add-ons and work internally, such as Vacuum Places (search the addons for it).
    Some are external. Speedyfox is one I just tried, and found to work quite well. I think it did a better job than Vacuum Places, but requires Firefox to be shut down before it can work properly.
    Find Speedyfox using a web search.

  • Error #1010 on dynamic array of Labels?

    I am attempting to create an array of words as dynamically-created Labels that act like buttons (ie. they are plain text but are clickable and will highlight on mouseover).  This method works (using names like "word1", "word2"..."wordN" as the array index) for inserting the word labels into a BorderContainer... so the array seems to be okay. However, when I go to mouseover, I get TypeError: Error #1010: A term is undefined and has no properties.
    Pretty cryptic. What term is undefined and has no properties? I was assuming I could self-reference the event-triggering element using "this"... is that the problem? Not sure why the label can be added as a child element okay, but when I try to access one of the labels in the array, it gives "term undefined and has no properties"...
            private function mouseoverWord(event:Event):void {
                // Event handler for what happens when a mouse is moved over a word
                clickableArray[this.id].setStyle("color", "blue");
            private function mouseclickWord(event:Event):void {
            // Event handler for when word is clicked   
            private function createTextWord(word:String, num:int):void {
                var wordLabel:spark.components.Label = new spark.components.Label;
                wordLabel.text = word;
                wordLabel.buttonMode = true;
                wordLabel.addEventListener(MouseEvent.MOUSE_OVER, mouseoverWord);
                wordLabel.addEventListener(MouseEvent.CLICK, mouseclickWord);
                wordLabel.id = "word"+num.toString();
                clickableArray[wordLabel.id] = wordLabel;

    > I was assuming I could self-reference the event-triggering element using "this"... is that the problem?
    Possibly. If this code is in MyApp.mxml (and not within a <Component> or  <Definition>, then 'this' is a reference to the instance of MyApp. The object which dispatched the event is event.target.
    Gordon Smith
    Adobe Flex SDK Team

  • Vertical scroll up/down when expand or collapse tree items

    Hi everyone, I'm newbie in adobe flex. Is it possible to makes vertical scroll position automatically scroll up and down when tree component expand/collapse?
    I would like to make automatically scroll position likes in tree of windows explorer. Any idea to makes it work?
    Regards,
    Gus Leo

    Yeah!!!after trial and error with this issue i find some logic to makes vertical scroll down automatically likes windos explorer.
    I'm attach some code with about this issue and hopes this will be useful for other developer.
    Put the code on ItemOpen on tree component
    private function onItemOpen(event:TreeEvent):void{
                   //rowHeight is default height of tree and +2 is my own logic, because they have a space between a tree
                        var _rowHeight:int = int(event.currentTarget.rowHeight) + 2;
                        var posX:int = int(event.currentTarget.mouseY);
                        var _maxHeight:int = myTree.height;
                        var itemCount:int = int(event.item.children.length);
                        //cheking the current position and calculation of droping index
                        if (((itemCount*_rowHeight) + posX) > _maxHeight){
                            var _currpos:int = posX + _rowHeight;
                            var _heightCount:int = _rowHeight;//default height count is the _rowHeight
                            for (var i:int = 0;i<itemCount;i++){
                                _currpos = _currpos + _rowHeight;
                                _heightCount = _heightCount + _rowHeight;
                                //if the the count of height itemschild > than the tree height so stop to add scrollposition
                                if (_maxHeight < _heightCount ){
                                    break;
                                }else if (_maxHeight < _currpos){
                                    myTree.verticalScrollPosition = myTree.verticalScrollPosition + 1;
    Message was edited by: Gus Leo

  • At times when dragging the vertical scroll bar my computer screen oscillates up and down for some time before going blank or not responding to any clicks requiring a forced system restart. What is wrong?

    Hi,
    Suddenly while working with Firefox if I happen to drag the vertical scroll bar, a very abnormal behavior occurs. My screen dances up and down for a short time before either going black or getting restored but with no clicks working. The only way to resume is to force a restart of the system.
    Any help would be deeply appreciated.
    Thanks and Regards
    Deepak

    That didn't work. On trying to install a new driver I got the error the graphics driver could not find compatible graphics hardware. Is there anything else that can be done to at least prevent the hanging of the computer even if it means less features from Firefox being available?

  • The Horizontal & vertical scroll is not visible or not working when i run the form in Forms 6i.

    Hi all,
    The Horizontal & vertical scroll is not visible or not working when i run the form.
    In this form , there are 5 canvas namely
    CANVAS2 - Stacked Canvas
    PASS - Content Canvas
    MAT_RATES - Content Canvas
    DATE - Content Canvas
    PREVIOUS - Content Canvas
    I have set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the WINDOW Property.
    I have  set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the STACKED CANVAS Property .
    But still the Horizontal and Vertical Scroll Bar is not working when i run the Form.
    Help me with this please. How do i make it visible??
    Oracle Forms 6i..
    Thank You.

    Vijetha wrote:
    Hi all,
    The Horizontal & vertical scroll is not visible or not working when i run the form.
    I have set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the WINDOW Property.
    I have  set "Show Horizontal Scroll Bar" to "Yes" and  "Show Vertical Scroll Bar" to "Yes" in the STACKED CANVAS Property .
    But still the Horizontal and Vertical Scroll Bar is not working when i run the Form.
    Help me with this please. How do i make it visible??
    Oracle Forms 6i..
    Thank You.
    hello vijetha,
    window and canvas show scroll bar when it need.
    You should show block property
    and set block scroll bar
    hope this helps..
    Hamid

  • I have a error message when i turn on my computer. AppleSyncNotifier.exe - Entry Point Not Found. The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll. Any thoughts?

    I have a error message when i turn on my computer. AppleSyncNotifier.exe - Entry Point Not Found. The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.
    Any thoughts?

    Found this fix here which worked for me with a similar problem.
    https://discussions.apple.com/thread/3196594?start=0&tstart=0
    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the SQLite3.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Reboot and see if all is well.

  • 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.

  • Error encountered when scrolling over particular InDesign CS2 page, causes file to crash

    I am working on a 36.6 MB InDesign file with 134 pages. There is at least one photo on each page. Most of the photos are linked in to a server.
    When I scroll to page 93, I always get an error message and the option to debug. But the debug always fails and InDesign closes.
    I have updated my InDesign CS2 to 4.0, but have had no luck.
    Here is the error signature:
    AppName: indesign.exe AppVer: 4.0.5.688 ModName: master page.rpln
    ModVer: 4.0.5.688 Offset: 000053b6
    Please, please help.

    Is page 93 based on a different master from the others?
    I think this could be caused by either a bad graphic or a bad font on the page.
    I also remember, vaguely, something about closing the links palette and or Navigator might help, as probably, would moving the links to your hard drive.
    Peter

  • When I open gmail, I cannot use the vertical scroll bar.

    When I use the gmail website on firefox, the vertical scroll bar. As there is no horizontal scroll bar on the website, the vertical scroll bar layers over the top of the page resizer and makes the arrow button for the scroll unusable.
    Please advise.

    you may be connected to the wireless network but the question is the internet working properly on the wireless network...
    what i mean is that i can make a wireless network without the internet so i can save and share files and have other devices connected to the same network access them... but you have to make sure that your internet it running properly... may have to reconfigure the router is your using PPPOE or if it was working prior to your post then try to restart your modem... that usually resolves most issues.

  • Error 1003 when loading a VI dynamically on LabView Run-time ini file configuration

    hi all,
    I have a problem with my runtime excutable.
    On 4 systems, all running XP it runs fine.
    On 2 systems ( one a new install of just LVRT 2011 SP1 ) I have:
    Error 1003 when loading a VI dynamically on LabView Real-time
    Or more spoecifically the error code is 1003 and the error source is Open VI Reference.
    When the RT app runs correctly I get these paths:
    Path Sent to Open Vi Reference:              Yeast_Grower.exe\Tecan_talk_Control.vi, 
    Path Returned from Open Vi Refence:       C:\Program Files\Yeast_Grower\Yeast_Grower.exe\Tecan_talk_Control.vi, 
    On a system that does gets the 1003 Open Vi Refence error I have the same Path Sent but of course no path returned as it does not open.
    To be sure that the vi Dyanmically called vi is compiled and valid at runtime I also include a copy of in the main.vi.
    To be extra sure I have also installed the runtime versions of VISA and DAQmx.
    I have compiled it with and without the "Use LV 8 calling hiaracy"
    My conclusion as this stage is that either the installation of LVRT 2011SP1 misses something the earlier LVRT installtions make.
    or is there a MyApp.ini or LVRT .ini  that controls how the RT dyanim calls are handled.
    Help very welcome how to solve this puzzle.
    thanks
    michael

    I understand that all the PCs (6 of them) have LV 2011 SP1, runtime or the development system installed. Right?
    How many of these PCs have the source code available on them?
    -> Only one of them has the source code.
    I am not sure I understood 'I also include a copy of in the main.vi'. Does it mean you placed the subvi in the main.vi?
    -> I meant I have included in main.vi the actual vi that is called dynamically - but only where it is not called.
    Did you try including the sub vi which is called dynamically, as 'Always included' in the EXE build?
    -> No, I did not know of this option - but the above I did this by default.
    Edit: Did you verify the software versions of LV RT, VISA etc on all the PCs? Are they same?
    -> I did verify even added DAQmx just in case
    There is lots of material available on this forum for error 1003 and dynamic vi calling. Did you find anything useful to try among the forums threads?
    -> I did view many of them.
    I did finally find the answer.  
    I have a subvi (callNet.vi ) in the dynamically called vi (dynamic ) that calls .Net libraries.
    Now the thing is that this subvi callNet.vi is coded out by enclosing it in a Disable structure.
    In fact this subvi ( callNet.vi) does not even compile - ie it has a broken arrow
    however if enclosed in a Disabled structure and disabled, the enclosing vi compiles OK.
    However I have discovered that even with the .Net calling subvi (callNet.vi) in the Disabled state of the Disabled structure
    the enclosing vi (dynamic.vi ) does NOT run - although it compiles just fine.
    Once I installed the .Net libraries (I actually did include them with my app installer ) with the vender's supplied installer
    then my app now successfully calls the dynamic vi.
    So the Summary and warning is:  Even if the dynamic called vi is included in Main.vi and Main.exe runs ( but does not call the dynamic vi - except when called dynamically at later some point ) and even if, in this case, the .Net calling subvi is disabled out ie no .Net calls are made the dynamically called vi will not run when called dynamically.
    I hope that is not too confusing.  In summary it seems the Disable structure does not entirely disable.
    Michael

  • Vertical scrollbar not showing all the records when I scroll down.

    Vertical scrollbar not showing all the records when I scroll down.
    Using Oracle forms 10g , operating system windows
    I have two fields with number of items dispayed = 15.
    I have a vertical scroll bar with them. There are 34 records in the table but the scrollbar only shows 15 records.
    Here are the properties for block / scrollbar.
    WORK_CATEGORY
    - Subclass Information                           
    - Comments                                       
    * Navigation Style                                Same Record
    - Previous Navigation Data Block                 
    - Next Navigation Data Block                     
    - Current Record Visual Attribute Group          
    - Query Array Size                                0
    - Number of Records Buffered                      0
    * Number of Records Displayed                     60
    * Query All Records                               No
    - Record Orientation                              Vertical
    * Single Record                                   No
    - Database Data Block                             Yes
    - Enforce Primary Key                             No
    - Query Allowed                                   Yes
    - Query Data Source Type                          Table
    * Query Data Source Name                          WORK_CATEGORY
    * Query Data Source Columns                      
    * Column Name                                   JOB_TYPE
    * Column Type                                   VARCHAR2
    - Column Type Name                             
    - Parent Column                                
    * Length                                        30
    * Precision                                     0
    * Scale                                         0
    * Mandatory                                     Yes
    * Column Name                                   WORK_CATEGORY
    * Column Type                                   VARCHAR2
    - Column Type Name                             
    - Parent Column                                
    * Length                                        30
    * Precision                                     0
    * Scale                                         0
    * Mandatory                                     Yes
    - Query Data Source Arguments                    
    - Alias                                          
    - Include REF Item                                No
    * WHERE Clause                                   
    * ORDER BY Clause                                 job_type
    - Optimizer Hint                                 
    - Insert Allowed                                  Yes
    - Update Allowed                                  Yes
    - Locking Mode                                    Automatic
    - Delete Allowed                                  Yes
    - Key Mode                                        Automatic
    - Update Changed Columns Only                     No
    - Enforce Column Security                         No
    - Maximum Query Time                              0
    * Maximum Records Fetched                         0
    - DML Data Target Type                            Table
    - DML Data Target Name                           
    - Insert Procedure Name                          
    - Insert Procedure Result Set Columns            
    - Insert Procedure Arguments                     
    - Update Procedure Name                          
    - Update Procedure Result Set Columns            
    - Update Procedure Arguments                     
       Don't know where am I going wrong. I'll really appreciate if you can help me in this.
    Thanks.
    Edited by: 831050 on Sep 14, 2011 8:05 AM

    One of the items is a list item.. here are it's properties:
    * Name                                          JOB_TYPE
    * Item Type                                     List Item
    - Subclass Information                         
    - Comments                                     
    - Help Book Topic                              
    - Enabled                                       Yes
    * Elements in List                             
    * Label                                      
    * List Item Value                             LIST20
    * List Style                                    Combo Box
    - Mapping of Other Values                      
    - Implementation Class                         
    - Case Restriction                              Mixed
    - Popup Menu                                   
    - Keyboard Navigable                            Yes
    - Mouse Navigate                                Yes
    - Previous Navigation Item                     
    - Next Navigation Item                         
    - Data Type                                     Char
    - Data Length Semantics                         Null
    - Maximum Length                                30
    - Initial Value                                
    * Required                                      Yes
    * Copy Value from Item                         
    - Synchronize with Item                        
    - Calculation Mode                              None
    - Formula                                      
    - Summary Function                              None
    - Summarized Block                             
    - Summarized Item                              
    - Current Record Visual Attribute Group        
    - Distance Between Records                      0
    * Number of Items Displayed                     15
    - Database Item                                 Yes
    * Column Name                                   JOB_TYPE
    - Primary Key                                   No
    - Query Only                                    No
    - Query Allowed                                 Yes
    - Insert Allowed                                Yes
    - Update Allowed                                Yes
    - Update Only if NULL                           No
    - Visible                                       Yes
    * Canvas                                        CANVAS2
    - Tab Page                                     
    * X Position                                    47
    * Y Position                                    137
    * Width                                         187
    * Height                                        18
    - Visual Attribute Group                        DEFAULT
    - Prompt Visual Attribute Group                 DEFAULT
    - Foreground Color                             
    * Background Color                              white
    - Fill Pattern                                 
    - Font                                         
    * Font Name                                     Tahoma
    * Font Size                                     10
    * Font Weight                                   Demilight
    * Font Style                                    Plain
    * Font Spacing                                  Normal
    * Prompt                                        Job Type
    - Prompt Display Style                          First Record
    * Prompt Justification                          Start
    * Prompt Attachment Edge                        Top
    - Prompt Alignment                              Start
    * Prompt Attachment Offset                      10
    * Prompt Alignment Offset                       0
    - Prompt Reading Order                          Default
    - Prompt Foreground Color                      
    - Prompt Font                                  
    * Prompt Font Name                              Tahoma
    * Prompt Font Size                              10
    * Prompt Font Weight                            Bold
    * Prompt Font Style                             Plain
    * Prompt Font Spacing                           Normal
    - Hint                                         
    - Display Hint Automatically                    No
    - Tooltip                                      
    - Tooltip Visual Attribute Group               
    - Direction                                     Default
    - Initial Keyboard State                        Default
    - Keyboard State                                Any
        

Maybe you are looking for