DataGrid Column Sort Prevents Drag From Updating DataProvider

Hi
I have a datagrid with an XMLListCollection as the Data Provider.
I have dragging set on so that when I drag a row to somewhere else in the list the XMLListCollection gets updated just fine and so does the DataGrid.
However, if a column sort has previously been set this seems to stop the XMLListCollection being updated on the drag.
I have tried setting the sort property on the XMLListColelction to null and then doing a refresh - this works to a point but it restores the default sort order which is not really what I want as the user may wish to continue from where the column sort got them to.
I was wondering if anyone had any suggestions please ?
Thanks a lot.
Chris

Hi
Thanks for replying
This is what the debugger says:
TypeError: Error #1010: A term is undefined and has no properties.
    at mx.controls.listClasses::ListBase/makeRowsAndColumnsWithExtraRows()[C:\autobuild\3.2.0\fr ameworks\projects\framework\src\mx\controls\listClasses\ListBase.as:1358]
    at mx.controls.listClasses::ListBase/updateDisplayList()[C:\autobuild\3.2.0\frameworks\proje cts\framework\src\mx\controls\listClasses\ListBase.as:3658]
    at mx.controls.dataGridClasses::DataGridBase/updateDisplayList()[C:\autobuild\3.2.0\framewor ks\projects\framework\src\mx\controls\dataGridClasses\DataGridBase.as:581]
    at mx.controls::DataGrid/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\framewor k\src\mx\controls\DataGrid.as:1437]
    at mx.controls.listClasses::ListBase/validateDisplayList()[C:\autobuild\3.2.0\frameworks\pro jects\framework\src\mx\controls\listClasses\ListBase.as:3280]
    at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\f ramework\src\mx\managers\LayoutManager.as:622]
    at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:695]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
    at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]
For instance, after the page with the flash module loads, and I click on a column, I get the error. This is quite random, sometimes I need a couple of tries to get the error...
If you require more information about it I will try to provide.
Thank you
Vlad

Similar Messages

  • Firefox will updage. I get this message: Something is preventing firefox from updating securely. Please make sure that you have the latest version

    I get this error message: Something is preventing Firefox from updating securely. Please make sure that you have the latest version of Firefox. I have uninstalled and re-installed. It did not work. Support tells me to click on Firefox at the top. I have no word at the top which says Firefox. I have the Firefox icon.

    This issue can be caused by the presence of leftover files in the Firefox program folder (defaults\pref) like a file firefox.js that overrides the update URL with a wrong link.
    Do a clean reinstall and be sure to remove the Firefox program folder.
    * Firefox 4.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Uninstall your current Firefox version.
    * Do not remove personal data when you uninstall the current version.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    Your bookmarks and other profile data are stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    * [/questions/826858]

  • Update failed something is preventing firefox from updating securely how do I fix this ?

    Please can someone help me I have been getting from time to time an update box pop up that reads "Update Failed Something is preventing Firefox from updating securely. Please make sure that you have the latest version of Firefox from http://www.firefox.com", however my Firefox is up to date (I think). I have uninstalled then reinstalled but I'm still getting this error. I have been having this issue on and off for a couple of months and although I have posted before about this I'm still without a solution. I have looked into my programs folder as it tells me to in the help information to look for the active-update.xml, updates.xml and the updates folder and it's contents so I can delete them but I can't seem to find them. I'm definately not a computer whizz so any help anyone wants to offer needs to be in step by step form. Thanks

    See also [[/questions/919214]]
    Do a clean reinstall and delete the Firefox program folder before (re)installing a fresh copy of the current Firefox release.
    Download a fresh Firefox copy and save the file to the desktop.
    *Firefox 20.0.x: http://www.mozilla.org/en-US/firefox/all.html
    Uninstall your current Firefox version, if possible, to cleanup the Windows registry and settings in security software.
    *Do NOT remove personal data when you uninstall your current Firefox version, because all profile folders will be removed and you will lose all personal data like bookmarks and passwords from profiles of other Firefox versions.
    Remove the Firefox program folder before installing that newly downloaded copy of the Firefox installer.
    *(32 bit Windows) C:\Program Files\Mozilla Firefox\
    *(64 bit Windows) C:\Program Files (x86)\Mozilla Firefox\
    *It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    *http://kb.mozillazine.org/Uninstalling_Firefox
    Your bookmarks and other personal data are stored in the Firefox profile folder and won't be affected by an uninstall and (re)install, but make sure that "remove personal data" is NOT selected when you uninstall Firefox.
    If you keep having problems then also create a new profile.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Profile_backup
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Clean_reinstall

  • Prevent user from update view  object

    Hi all is there is any way to prevent user from update view object at runtime, but if he have a privilege to Update he can update.
    i put all user privilege in a variable in session, but how to use it to prevent user from update .
    or ho w to make updateable view just for create or insert data not update it;
    thnx in advise

    Hi Mohammed,
    > tow view object bad way it means to page (as i think project 50 page mean to create 100 page )??
    Untill the Question is clear Answer will not be clear U never mentioned the Quantum of Pages u gng to work in POST....
    > disable commit button but if user have privilege to insert a new record ??
    Did u think this statement means something.. A user who has no privilege to commit the data wht is the purpose of giving privilege to add the data?????????
    > if i disable table or form and user try to create new record is new fields will be enabled or will be as previous row.
    This too i cant understand?? the user doesnt have access why should he need to create row.. u can disable the Create button too.....
    > by the way is there is any way to catch Sql Statement that will be committed when user press commit .
    While user press commit and u gng to call the ApplicationModule Commit so u can have a hold on doDML() method of the corresponding entity else if u gng to insert though a procedure or function
    U can restrict the same before u calling the same.......
    Regards,
    Suganth.G

  • [SOLVED]How I can prevent gnome from updating?

    Hi there!
    Currently I use Gnome 3.4
    The last time I did full system updated to Gnome 3.6, everything went very bad. Currently I have a lot of packages waiting for update, and I do not update because it includes a lot of Gnome 3.6 packages as well. Is there a way to ignore the whole gnome group from updating? Currently I do not have time to mess with the stupid things they did in Gnome 3.6, but I do want my system up to date.
    Thank you!
    Last edited by skwo (2012-12-10 14:51:41)

    You can use IgnoreGroup in the [options] section of pacman.conf:
    IgnoreGroup = gnome
    For more info, see the wiki: https://wiki.archlinux.org/index.php/Pa … g_upgraded
    Personally never used the feature, so I'm not sure about the implications of ignoring an entire group.

  • Can we call the Datagrid Column Sort function?

    Is it possible to call the same function within the datagrid
    component that is used when we do an onClick event of the column
    headers? When you click on the column header, it will sort the
    column ascending or descending.
    I would like to call that same process after the datagrid is
    loaded, programmatically. But the same as if the user had clicked
    the column.
    I have looked at examples in the help that sort the
    dataprovider array. But if we are able to do this at runtime with a
    user clicking on the column, it seems that it should be possible
    since the datagrid is doing a sort on the internal dataprovider
    object for the datagrid.
    If it is not available now, this functionality should be
    added.
    Thanks.

    Yes, you can do what you want by setting the data provider's
    "sort" property
    to be an instance of class Sort, and putting one or more
    SortFields inside the
    Sort.
    If you put just a single SortField inside the Sort, then the
    header field will
    have the up/down triangle indicating the results of the sort,
    just as if the
    user had clicked on the column. If you put two or more
    SortFields inside the
    Sort, then there won't be a triangle, because of course it
    wouldn't make sense
    to put on there.
    Here is a small sample:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Array id="mydata">
    <mx:Object col1="b" col2="p" col3="z" />
    <mx:Object col1="c" col2="r" col3="y" />
    <mx:Object col1="b" col2="q" col3="x" />
    <mx:Object col1="a" col2="q" col3="x" />
    <mx:Object col1="d" col2="q" col3="x" />
    <mx:Object col1="c" col2="q" col3="x" />
    </mx:Array>
    <mx:ArrayCollection id="mycollection"
    source="{mydata}">
    <mx:sort>
    <mx:Sort>
    <mx:fields>
    <!-- This example has field "col2"
    as its primary sort field, and
    field, and field "col1" as its
    secondary sort field.
    If you remove one of these lines,
    so only a single SortField
    exists, you will see a triangle
    in the header of the sorted
    field in the DataGrid.
    -->
    <mx:SortField name="col2" />
    <mx:SortField name="col1" />
    </mx:fields>
    </mx:Sort>
    </mx:sort>
    </mx:ArrayCollection>
    <mx:DataGrid id="dg" height="474"
    dataProvider="{mycollection}" >
    <mx:columns>
    <mx:DataGridColumn headerText="Column 1"
    dataField="col1"/>
    <mx:DataGridColumn headerText="Column 2"
    dataField="col2"/>
    <mx:DataGridColumn headerText="Column 3"
    dataField="col3"/>
    </mx:columns>
    </mx:DataGrid>
    </mx:Application>
    Mike Morearty
    Developer, Flex Builder team
    http://www.morearty.com/blog

  • Is there a way to prevent iTunes from updating apps?

    I have recently updated an app that I love to play but the update caused me to lose all my saved data and it's very buggy and crashes all the time. I managed to rescue the old version from the recycle bin and deleted the new version from iTunes and my iPod Touch before dragging the old version back into iTunes, but iTunes and the App Store wants to update that app. Does anybody know a way to tell iTunes and the App Store do not check for updates for a particular app?

    I don't want iTunes to ask me at all to update that particular app. The new version will still lose all data in that app and I don't want to worry about accidentally clicking update all.

  • I think I have the latest Firefox version, but keep getting messages about updating it. 1 says something is preventing Firefox from updating securely; another says something is trying to trick Firefox into accepting an unsecure update. What's going on?

    The 1st message goes on to say, "Please make sure that you have the latest version of Firefox from http://www.firefox.com." Assuming 4.0.1 is the latest version, it seems this is a bogus message and I haven't clicked on the link.
    The 2nd message goes on to say something like, "if this continues [the attempt to trick Firefox into accepting an unsecure update], contact your network administrator."
    I started getting the messages on all 4 of our PC's (2 desktops running Windows 7 Home Premium 64-bit, 1 running XP 32-bit, & a laptop running Vista Home Basic 64-bit) after updating to Firefox 4.0 on them. I manually updated to 4.0.1 on all thinking that would stop the messages, but it hasn't.
    I loaded & ran free versions of McAfee Stinger, Malwarebytes Anti-Malware, and Super Anti-Spyware programs on all our PCs; each program found & repaired some infected files on each computer, but the messages continue on all.
    Thanks for any help you can give.

    Apparently this occurs when Firefox has problems with security certificates. There have been a few questions about this. I will try to get advice about this.
    Apparently you are using Internet Explorer 9 (From your system details). Do you have Google Updater plugin installed on Firefox ?
    (That been implicated in this sort of problem by one poster, and some users with the problem do have Google Updater, but some do not)

  • Prevent Skype from updating?

    I have a serious issue with Skype updating on its own.
    Every few days, Skype will update to version 6.11 without permission. I've tried turning off updates within Skype's settings (didn't work), blacklisting the Skype update server (didn't work), removing the updater.exe (didn't work), disabling the Skype Updater service (didn't work), and removing the Skype Updater service from my computer using the Command Prompt (didn't work).
    Even severely hobbled, Skype is still finding a way to update itself. Modern versions of Skype don't work properly with my (Windows 8 ) computer. I require Skype for work, so just getting rid of it like any sensible person would isn't an option. There has to be a better way than letting Skype update itself every time I turn my back, letting it mess up my computer, uninstalling it, and reinstalling a version that works.

    This is what I got for ping:
    Pinging download.skype.com [127.0.0.1] with 32 bytes of data&colon;
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
    Ping statistics for 127.0.0.1:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Before last month, I was running 5.8.0.158, but after it started trying to update, I switched to 5.9.0.115 since it was the most similar version with the ability to disable automatic updates. Forced updating happens with both versions, even with the Skype Update service disabled, even with the service completely removed from my computer, and even with Skype's servers in the hosts file.
    This is how the hosts file currently reads; I modified it on the seventh, with admin permissions.
    # Copyright (c) 1993-2009 Microsoft Corp.
    # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
    # This file contains the mappings of IP addresses to host names. Each
    # entry should be kept on an individual line. The IP address should
    # be placed in the first column followed by the corresponding host name.
    # The IP address and the host name should be separated by at least one
    # space.
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    # 102.54.94.97 rhino.acme.com # source server
    # 38.25.63.10 x.acme.com # x client host
    # localhost name resolution is handled within DNS itself.
    # 127.0.0.1 localhost
    # ::1 localhost
    127.0.0.1 download.skype.com
    127.0.0.1 ui.skype.com

  • [E2013][C#] How to prevent user from updating its own events on Exchange

    Hi everybody,
    I hope you can help me. I have a system based on Exchange / Outlook 2013, and I would like to put on user's calendar some events that they can't delete nor update. I have tried to create appointments using
    Exchange EWS with an administrator account, but the problem is that those events can be deleted or updated by users. This is because the events are on user's own calendar, so usually user can update them. 
    How can I have "some" events to be readonly for a user, but must be visibile in its own calendar? (No other calendar overlay). Is there a way to throw an exception or something similar on Exchange Server when a user modify those events
    (some custom property must identify them, of course)? I have looked at transport agents, but I haven't found any example for managing calendar items server side. 
    I cannot use only an Outlook plugin because users could connect to exchange with smartphone, and they could update appointments from there. I have to prevent updating (from Outlook and from smartphone, basically from everywhere except for
    an administrator user) for some events (programmatically created by EWS, for example) which are in user's calendar. Can you help me?
    Thanks, 
    Antonio

    Hi Antonio,
    bad news for you: It's impossible. A User always has full control over all items in his or her mailbox (including his calendar), no matter what you do.
    If it's important enough to you, you can write a service that monitors all those specific appointments and undos all changes the user applies to them (it won't keep the user from changing the Appointment, but it will not have effect for long. Your users
    may feel a bit upset about that though).
    Cheers,
    Fred
    There's no place like 127.0.0.1

  • I have two Apple IDs - One prevents me from updating Apps...

    I have two Apple IDs and although I am signed into my iPad as one, when I try to update my Apps., it asks for my password for the other ID - a password that is not retrievable from any of my email accounts.

    That's probably because the Apps were purchased through the other Apple ID. SInce the Apps cannot be transferred between Apple IDs you may have to delete the Apps in question and repurchase them under the correct Apple ID.
    Make sure that you setup a rescue e-mail address for your functioning Apple ID.

  • Sign-in problem preventing me from updating/installing latest version of flash player

    I got a notice that my flash player was out of date. I have spent all morning trying to update or install the latest version but I only get as far as the sign-in page. My name is automatically in the User ID but the password isn't. I typed in the password and nothing happens other than the window shaking. I reset a new password and tried again and again and again. I changed the user ID to my email address and attempted half a dozen more times only to still get the shaking screen. What do I do now? I can't get any help in the Chat Help section of Adobe. Nobody is online to help me.

    Well, I'm glad to hear that I'm not the only one having this problem but I'm sorry for all of us because there doesn't seem to be any way to get an answer from Adobe. Are you using a PC or a Mac? I'm on a Mac and my husband says he remembers being told that Apple doesn't support Adobe.

  • Nvidia-ck issues - dependencies prevent me from updating

    So basically, as far as I know:
    * Want to update entire system, yaourt complains about a dependency that can't be statisfied: nvidia-ck requires nvidia-utils=337.19
    * Can't update nvidia-ck, because it tries to install nvidia-utils version 337.25, but for some case can't, because it couldn't statisfy the nvidia-utils=337.19 requirement for nvidia-ck?
    * Can't update nvidia-utils because it requires version 337.19
    What I tried
    * Updating linux-ck (no success)

    I have updated my databases. I'll post some outputs.
    yaourt -syyua:
    :: Synchronizing package databases...
    core 110.7 KiB 1350K/s 00:00 [#####] 100%
    extra 1680.1 KiB 1448K/s 00:01 [#####] 100%
    community 2.2 MiB 1223K/s 00:02 [#####] 100%
    multilib 117.7 KiB 1070K/s 00:00 [#####] 100%
    error: failed to prepare transaction (could not satisfy dependencies)
    :: Starting full system upgrade...
    :: nvidia-ck: requires nvidia-utils=337.19
    :: perl-alien-wxwidgets: requires perl-module-pluggable
    Don't know what the perl thing is, I'll fix that later.
    Yaourt -S nvidia-ck:
    ==> Downloading nvidia-ck PKGBUILD from AUR...
    x .AURINFO
    x PKGBUILD
    x nvidia-ck.install
    Comment by vic.pozd (2014-05-20 20:14)
    Pls correct md5sums for x86
    cf8e88e313928eb7a4d6f652ff287717 NVIDIA-Linux-x86-337.19.run
    Comment by graysky (2014-05-20 21:58)
    Done. Dunno happened.
    Comment by vic.pozd (2014-05-21 19:07)
    At your option - downloaded 2 files (for x86 and x86_64). That's not cool.
    I propose to make a separate downloads.
    options=(!strip)
    if [ "$CARCH" = "i686" ]; then
    source("ftp://download.nvidia.com/XFree86/Linux-x86/${pkgver}/NVIDIA-Linux-x86-${pkgver}.run")
    _pkg="NVIDIA-Linux-x86-${pkgver}"
    md5sums=('cf8e88e313928eb7a4d6f652ff287717')
    elif [ "$CARCH" = "x86_64" ]; then
    source=("ftp://download.nvidia.com/XFree86/Linux-x86_64/${pkgver}/NVIDIA-Linux-x86_64-${pkgver}-no-compat32.run")
    _pkg="NVIDIA-Linux-x86_64-${pkgver}-no-compat3"
    md5sums=('5f7ed7eab32fa99c72bb2c30d0a85b9d')
    fi
    prepare() {
    Comment by graysky (2014-05-21 19:44)
    This package mirrors the official ARCH package; I don't have a ton of time these days to customize since diffing the official PKGBUILD from my own is preferred.
    Comment by vic.pozd (2014-05-21 22:29)
    And to think it is not necessary, I gave an example.
    Could answer. Or do not want to modify?
    nvidia-ck 337.25-2 (Sun Jan 3 11:48:45 CET 2010)
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> nvidia-ck dependencies:
    - linux-ck>=3.14 (already installed)
    - linux-ck<3.15 (already installed)
    - nvidia-libgl (already installed)
    - linux-ck-headers>=3.14 (already installed)
    - linux-ck-headers<3.15 (already installed)
    - nvidia-utils=337.25 (package found)
    ==> Edit nvidia-ck.install ? [Y/n] ("A" to abort)
    ==> ---------------------------------------------
    ==> n
    ==> Continue building nvidia-ck ? [Y/n]
    ==> -----------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for nvidia-ck:
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: nvidia-ck: requires nvidia-utils=337.19
    ==> Restart building nvidia-ck ? [y/N]
    ==> ----------------------------------
    ==>
    yaourt -S nvidia-utils:
    resolving dependencies...
    looking for inter-conflicts...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: nvidia-ck: requires nvidia-utils=337.19

  • Cannot find feature "find duplicates" in itunes 11.4 on MAC - I have duplicates that are preventing me from updating my iphone

    I recently noticed that all of my playlists were gone from my iphone - after searching the web - I saw the issue with duplicates and I have many!  All of the solutions say to use the "Find Duplicates" function and I cannot find it ANYWHERE!  Getting really frustrated with this issue.  Any help would be appreciated!

    Hi,
    in iTunes 11.4, Show Duplicate Items is in the View menu, and to get back to normal you choose Show All Items.

  • How to prevent iTunes from updating iPad to iOS 7?

    Greetings,
    When I connected my iPad to my computer to backup with iTunes, it updated to iOS 7 without asking me. I did not want update for various reasons, one being concern that it would rum slower which it does. It is laggy.
    It there a setting somewhere to not update without my permission?
    Thanks

    How to Fix a Slow iPad
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-A-Slow-iPad.htm
    iPad running slow? How to speed up a slow iPad
    http://appletoolbox.com/2012/07/ipad-running-slow-how-to-speed-up-a-slow-ipad/
    If You Think iOS 7 Feels Slow Here’s How to Speed It Up
    http://osxdaily.com/2013/09/23/ios-7-slow-speed-it-up/
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
     Cheers, Tom

Maybe you are looking for

  • Dynamic filename in XI

    Hi, In XI SP12 is possible to use dynamic filename? I need to generate a filename in Adapter using the content of an element in message, how I do it? thanks.

  • Nokia in Pakistan

    Its my personal observation and analysis that nokia always advertise (on TV and else where) those mobile models in Pakistan that are flopped in Europe and in Middle East and I think Nokia x2-02 is one of them, I am salaried person I did not afford to

  • Error 0x80300024 When Installing Windows 7 Using Bootcamp

    Hi.  I'm trying to install windows on my mac mini.  I have a 2010 mini server with dual 500gb hard drives.  I want to have one disc for apple and the other disc for windows.  When I try the install I get the windows error 0x80300024.  After some rese

  • AppleTV or Mac Mini with Front Row?

    I'm trying to decide whether to get an Apple TV, or a Mac Mini running Front Row. Cost is not the main issue. I live in The Netherlands where Apple has no movie rental service. I have a large DVD collection that I am slowly ripping to an external har

  • Cisco ASA 8.2 55xx connect 2 inside interfaces together

    Hi all, I have some problem with my Cisco ASA 8.2 5510. I have to know how shoud i connect 2 inside interfaces together. I am writing what i have. I have 5 network connection on Cisco ASA. 1. Interface Ethernet 0/0 - outside 200.200.200.200 255.255.2