Clearing out List's data

dear all,
I have got a List component that has data in it. But I want
to clear the data in it. How do we do this in Flex? Has anyone got
any experience with this? I tried using list.dataProvider = null
but it doesn't work. Could anyone give me a hint and clue about
this please?
Many thanks

How about list.dataProvider = new ArrayCollection( );
You could also clear the data provider itself. For example if
your dp is an ArrayCollection you can go:
( list.dataProvider as ArrayCollection ).removeAll( );

Similar Messages

  • Clearing out old process data

    How can I clear out old process data? In my test environment, I have several hung tasks that will not terminate. The tasks exist, but the process they were associated with no longer do.

    There was a bug in 8.0 that I believe is fixed in 8.2 where tasks assigned to a group were not removed when the process was terminated.
    Your easiest solution right now is:
    - create a dummy local user called "dummy" or something like that
    - go into adminui/process management/task management, find the tasks, and allocate them to the dummy user.
    They will still be there, but at least they won't irritate anyone.
    Howard
    http://www.avoka.com

  • I need to clear out all the data on my phone so I can give it to someone

    I need to clear out all the data on my phone so I can give it to someone

    There are two ways you could do this.
    1. Go to settings>general>reset then select the option "erase all content and settings"
    2. Restore to factory settings with iTunes on a PC/Mac. The article below can show you how to do this:
    http://support.apple.com/kb/ht1414
    Hope this helps

  • How do I clear out the measure data in a 10g cube?

    Does anyone know of an OLAP feature that I could call to zero out the measures stored in the cube before I refresh from the source data?
    I'm new to Oracle OLAP, but I have some experience with Essbase and I have quite a bit of experience with Oracle PL/SQL. The database is 10g.
    Here's my problem. My dimensions and cube are mapped to Oracle tables. I've built an Oracle procedure, using DBMS_LOB / xml_clob functionality, to refresh my cube. The procedure worked successfully to initially load the data. It works successfully when changing the dollar amounts in source data. But it's possible that a record in my source data can be totally removed. When this happens, the dollars from the removed record are still showing up in the cube total after the procedure executes. I had assumed the CleanMeasures="true" parameter would take care of this, but it is not.
    thanks,
    Nancy
    Here's the parameters I'm passing to BuildDatabase in my Oracle procedure:
    ' <BuildDatabase Id="Action2" AWName="BUDGET.BUDGETS" BuildType="EXECUTE"
    RunSolve="true" CleanMeasures="true" CleanAttrs="true" CleanDim="true"
    TrackStatus="false" MaxJobQueues="0">';

    If you are doing a reload every time then you can issue following commands to clear data from cube.
    lmt name to all
    allstat
    clear all from <cubename>prttopvar
    You can wrap above commands in pl sql procedure using dbms_aw.execute package and execute it before cube load starts. Instead of clearing it from whole cube you can clear only from one partition also. Just take a look at clear command in olap DML 10.2 reference.
    Thanks,
    Brijesh
    Edited by: Brijesh Gaur on Aug 10, 2010 6:47 AM

  • Clear out tile list on change event

    I have a tile list component with thumbnails that changes when a combo box is changed.  The thumbnails load in videos when clicked.  When I change between items in the combo box, ghosted images of the previous item in the tilelist remain.  Also, the videos seem to be loading on top of each other when I change the combo box.
    In the change event, I would like the tilelist to clear out so there are no ghosted thumbnails from the previous combo box choice and I want the video player to clear out so the videos don't play on top of each other.
    This is the change event function that I have:
    myTileList.addEventListener(Event.CHANGE, listListener);
    // Detect when new video is selected, and play it
    function listListener(event:Event):void {
    var targetSource=event.target.selectedItem.data;
    if (targetSource.indexOf(".jpg")>-1) {
      //var URL=event.target.selectedItem.data;
      var req:URLRequest=new URLRequest(event.target.selectedItem.data);
      navigateToURL(req);
    } else {
      var flvControl:FLVPlayback=display;
      flvControl.source = event.target.selectedItem.data;
      flvControl.addEventListener(VideoProgressEvent.PROGRESS, progressHandler);
      flvControl.addEventListener(VideoEvent.READY, readyHandler);
      addChild(pb);
      flvControl.play();
    Do you see the issue that is causing the duplication?

    Hello Tim,
    And in GET_V of the attribute serving as dropdown you defined an event?
    * Set the type of the field:  dropdown menu
       CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = 'select'.
      ENDCASE.
    Best Regards,
    Yevgen

  • Is there any way so that I Being able to clear out old data from the Order

    Hi Friends,
    Is there any way so that I Being able to clear out old data from the Order Gate forecast, tolerance, and confirmed order to date tables on a monthly basis?
    Means I want data in data table for particular time (I want that if suppose today is 13-11-2008 then my data table must contain data from 13-10-2008 to 13-11-2008.
    Is it possible thru ABAP development or thru any t codes ?
    Any pointers will be rewarded.
    Regards

    hi,
    Before archiving you have to put the Deletion flag for the object(May be for PO, MMR etc as per your req.)...
    After that the you use the archiving procedure to archive the docs which are already flagged for deletion...
    For MMR you use the transaction SARA...and its respective object for the archiving....
    You can use the SDN search to see the many threads on it...
    Or use this link as per your req. and make the search...
    http://help.sap.com/saphelp_erp2004/helpdata/EN/75/ee0fa855c811d189900000e8322d00/frameset.htm
    Regards
    Priyanka.P

  • How do I clear updated apps listed by date in the Updates section of the App Store app?

    How do I clear updated apps listed by date in the Updates section of the App Store app?

    Hi rowiny,
    depending on what exactly you mean with "clear", it is a bug. See this thread: App Store Updates Do Not Clear
    If you update your App's via iTunes, and not "over the air", the badge count on the AppStore-app icon is wrong, and the list shows "available updates" that you can open in the new version. The listing under "Updated #date#" lists only updates that were done OTA in the last month.

  • Programatic import can't clear out a property of data-type="set"

    Our catalog repository has a item-descriptor for a "sku" that has a property named "modelProfiles" which is a data-type="set". This allow our SKUs to have a one-to-many relationship with ModelProfile components.
    We programmatically import and update these SKUs through gsa-xml files. This usually works great, but the problem I am having is that there appears to be no way to "clear out" the set that a given SKU is connected to. I can add to the set, I can reduce the members of the set, but when I try to make an individual SKU's set empty, the BCC project shows the related SKU as unchanged (meaning that it still has all of its SKUs).
    How can I clear out a property of type "set" using gsa-xml like...
    <pre>
    <update-item item-descriptor="sku" id="sku160005">
    <set-property name="modelProfiles" value="__NULL__"></set-property>
    </update-item>
    </pre>
    Our custom calalog.xml entry for this mess looks like...
    <pre>
    <item-descriptor name="sku">
    <table
    name="the_sku_modelprofile"
    type="multi"
    id-column-name="sku_id" >
    <property
    name="modelProfiles"
    data-type="set"
    column-name="model_profile_id"
    component-item-type="ModelProfile"
    display-name="Model Profile"
    category-resource="theBasics"
    required="false" >
    <attribute
    name="resourceBundle"
    value="the.commerce.ProductCatalogTemplateResources"/>
    <attribute name="propertySortPriority" value="-55"/>
    </property>
    </table>
    </item-descriptor>
    </pre>
    As always, any help is greatly appreciated.

    You just need
    <update-item item-descriptor="sku" id="sku160005">
    <set-property name="modelProfiles" value=""></set-property>
    </update-item>

  • If I choose a hard drive ask my backup disk for time machine, will it clear out the data that was previously stored in my hard drive?

    If I choose a hard drive ask my backup disk for time machine, will it clear out the data that was previously stored in my hard drive?

    Hello edjhsu,
    Unless the drive is in a format that isn't compatible with Time Machine, the files will not be overrwitten. However it is typically a better idea to keep your files and your backup separate, especially since files on the Time Machine drive will not be backed up by Time Machine.
    Mac Basics: Time Machine backs up your Mac
    http://support.apple.com/kb/HT1427
    Cheers,
    Allen

  • Will upgrading to new OS clear out my data on my Mac

    Will upgrading to new Apple OS clear out my data on my MAC? Or shall I get to keep all my files, photographs, music, documents?

    Apple OS upgrades retain your programs, files, photos, music etc.
    Of course it's good practice to have a good backup before you upgrade, just in case..
    Captfred

  • Why does my form data gets cleared out when clicking on the back button.

    Can someone explain why does my form selections get cleared out when clicking on the back button.
    I have a JSP page that displays a form with some selections and text boxes. I populate the page and submit the request. The action on the submit call another jsp page, which processes the data and displays the results via a <jsp:include> statement which calls the results page. When clicking on the back button from the results page, it returns me to the form page, but the selections are cleared out.
    1. Is there something in my calling of the pages that causes this behavior and can I prevent it?
    I notice that the behavior is different when using the IE 6.0 version Netscape 7.1. IE clears the page Netscape 7.1 retains the settings.
    If I cannot prevent this behavior does that mean I will have to save the state of the form data. And if I have to save the form data, what would be the easiest method of doing this. I'm a beginner to JSP and Java, but have some ASP experience. I don't understand why the back button in a JSP request clears the form data but a regular HTML page does not can someone explain?
    THANKS.

    the browser doesn't have to remember what you submitted and fill that back in.
    you can't prevent it unless you can ensure a new request to the server in which you can fill the default values in there.

  • HT4859 Is there a way to clear out data that was previously backed up on iCloud to make room ?

    Is there a way to clear out data that was previously backed up on iCloud to make room ?

    Welcome to the Apple Community.
    Settings > iCloud > storage & Backup > Manage...., swipe to delete.

  • Time Machine, Disk Utility, and clearing out corrupted snapshots

    Hi, all. I've been having some troubling issues with Time Machine and could use your collective insight.
    I have a 500GiB external USB2 disk that I've been using for Time Machine since December (the oldest snapshot in Backups.backupdb is named 2007-12-13-222250). Everything worked fine until sometime in late January, when Time Machine decided to ax 2/3 of my Applications directory. Time Machine's logging is terse, so I wasn't able to determine what caused the corruption. The fact that this error wasn't caught and flagged by Time Machine bothers me.
    Especially because I discovered this in the process of needing to recover from a crash on my laptop's hard drive -- I had to roll back to a previous, complete snapshot to get all my applications back.
    After that I had to engage in some jiggery-pokery to get Time Machine to re-snapshot everything, but things proceeded normally until I received my new copy of DiskWarrior 4.1 last night (although DiskWarrior is an innocent bystander here). I tried to use DiskWarrior to rebuild the directory on the Time Machine disk, but it failed before trying to write anything.
    (For those who care: after some back and forth with Alsoft tech support, we determined this was likely because my Time Machine volume has 6.2GB of catalog data, and DiskWarrior works by rebuilding the directory in memory, so it has to be able to fit the whole catalog into virtual memory.)
    I was a little paranoid that something might be wrong with the disk after that, so I fired up Disk Utility and told it to repair the disk. It churned for about 6 hours and repaired an extraordinarily large number of hardlink reference count errors, but completed by claiming that the disk had been repaired.
    When I next told Time Machine to run, instead of copying over a couple GB of data like it usually does, it started copying 38GB! ***? I took a look at the previous Time Machine snapshots, and discovered that Disk Utility had totally corrupted every snapshot I'd made since last month's fandango. Most of the root-level directories in the snapshots now look like this:
    $ ls -al /Volumes/Time\ Machine\ Backups/Backups.backupdb/xxx.net/2008-03-13-025640/Euphrosyne/
    total 128
    drwxrwxr-t@ 16 root admin 1020 Feb 15 00:17 ./
    drwxr-xr-x@ 3 root ogd 204 Mar 13 02:56 ../
    -r--r--r--@ 9151 root 20051003 0 Feb 11 23:13 .DRM_Data
    -r--r--r--@ 50574 root 20051004 0 Feb 11 23:13 .DS_Store
    -r--r--r--@ 9154 root 20051006 0 Feb 11 23:13 .SymAVQSFile
    -r--r--r--@ 9155 root 20051007 0 Feb 11 23:13 .VolumeIcon.icns.candybarbackup
    drwxr-xr-x@ 2 ogd admin 68 Feb 29 2004 .buildinstaller1.tmp/
    -r--r--r--@ 9149 root 20051001 0 Feb 11 23:13 .com.apple.timemachine.supported
    -r--r--r--@ 9150 root 20051002 0 Feb 11 23:13 .com.apple.timemachine.supported (from old Mac)
    -r--r--r--@ 9153 root 20051005 0 Feb 11 23:13 .redethist
    -r--r--r--@ 58730 root 20051009 0 Feb 11 23:13 Applications
    -r--r--r--@ 37526 root 20051012 0 Feb 11 23:13 Desktop Folder
    -r--r--r--@ 13328 root 20051013 0 Feb 11 23:13 Developer
    -r--r--r--@ 64211 root wheel 0 Feb 11 23:13 Library
    -r--r--r--@ 49886 root 20051080 0 Feb 11 23:13 Network
    -r--r--r--@ 5643 root 20051120 0 Feb 11 23:13 System
    lrwxr-xr-x 1 root ogd 60 Mar 13 02:56 User Guides And Information@ -> /Library/Documentation/User Guides and Information.localized
    drwxr-xr-x@ 5 root admin 204 Dec 6 02:07 Users/
    -r--r--r--@ 2554 root wheel 0 Feb 11 23:13 Volumes
    -r--r--r--@ 37448 root 20051010 0 Feb 11 23:13 bin
    -r--r--r--@ 37525 root 20051011 0 Feb 11 23:13 cores
    lrwxr-xr-x@ 1 root ogd 11 Mar 13 02:56 etc@ -> private/etc
    -r--r--r--@ 26309 root 20051078 0 Feb 11 23:13 mach_kernel
    -r--r--r--@ 26310 root 20051079 0 Feb 11 23:13 mach_kernel.ctfsys
    lrwxr-xr-x 1 root ogd 12 Mar 13 02:56 opt@ -> /private/opt
    drwxr-xr-x@ 8 root wheel 272 Dec 6 02:31 private/
    -r--r--r--@ 52664 root 20051119 0 Feb 11 23:13 sbin
    lrwxr-xr-x@ 1 root ogd 11 Mar 13 02:56 tmp@ -> private/tmp
    -r--r--r--@ 41668 root 20052660 0 Feb 11 23:13 usr
    lrwxr-xr-x@ 1 root ogd 11 Mar 13 02:56 var@ -> private/var
    That is clearly, completely wrong, and it alarms me that Disk Utility could cause so much damage to a Time Machine volume.
    Since I also use SuperDuper! to regularly clone this disk, it's not as big a nightmare as it could be, but this means that I'm going to have to clear out every snapshot for the last month by hand, both because I obviously can't trust them anymore, and because I keep getting messages like this in the logs:
    2008/03/13 7:25:35 PM /System/Library/CoreServices/backupd[1229] Error: (-36) copying /.com.apple.timemachine.supported to /Volumes/Time Machine Backups/Backups.backupdb/xxx.net/2008-03-13-192246.inProgress/70254508-90E3-4FF A-AE46-9E8210095DAE/Euphrosyne
    2008/03/13 7:25:35 PM /System/Library/CoreServices/backupd[1229] Error: (-36) copying /.com.apple.timemachine.supported (from old Mac) to /Volumes/Time Machine Backups/Backups.backupdb/xxx.net/2008-03-13-192246.inProgress/70254508-90E3-4FF A-AE46-9E8210095DAE/Euphrosyne
    2008/03/13 7:25:35 PM /System/Library/CoreServices/backupd[1229] Error: (-36) copying /.DRM_Data to /Volumes/Time Machine Backups/Backups.backupdb/xxx.net/2008-03-13-192246.inProgress/70254508-90E3-4FF A-AE46-9E8210095DAE/Euphrosyne
    2008/03/13 7:25:35 PM /System/Library/CoreServices/backupd[1229] Error: (-36) copying /.DS_Store to /Volumes/Time Machine Backups/Backups.backupdb/xxx.net/2008-03-13-192246.inProgress/70254508-90E3-4FF A-AE46-9E8210095DAE/Euphrosyne
    2008/03/13 7:25:35 PM /System/Library/CoreServices/backupd[1229] Error: (-36) copying /.redethist to /Volumes/Time Machine Backups/Backups.backupdb/xxx.net/2008-03-13-192246.inProgress/70254508-90E3-4FF A-AE46-9E8210095DAE/Euphrosyne
    2008/03/13 7:25:35 PM /System/Library/CoreServices/backupd[1229] Error: (-36) copying /.SymAVQSFile to /Volumes/Time Machine Backups/Backups.backupdb/xxx.net/2008-03-13-192246.inProgress/70254508-90E3-4FF A-AE46-9E8210095DAE/Euphrosyne
    2008/03/13 7:25:35 PM /System/Library/CoreServices/backupd[1229] Error: (-36) copying /.VolumeIcon.icns.candybarbackup to /Volumes/Time Machine Backups/Backups.backupdb/xxx.net/2008-03-13-192246.inProgress/70254508-90E3-4FF A-AE46-9E8210095DAE/Euphrosyne
    I'd like to keep the old snapshots if I can. What's likely to happen if I just go and clear out the b0rked backup sessions by hand?
    (Hmm... it appears yes, because I just deleted them all and the disk didn't recover the freed space.)
    Here's the important question: has anyone else had issues using Disk Utility on a Time Machine volume, and does anyone at Apple have any plans to add integrity checking to Time Machine? As it stands, I don't really feel like I can trust it in its present form, as convenient as it is...

    I have trouble with disk utility on my new (1 TB Lacie) as well as on my old (500 GB WD) drive. After doing a backup, du tells me a never ending list of errors like
    HasFolderCount flag needs to be set (id = 599567)
    (it should be 0x10 instead of 0)
    Everything was O.K. before doing the backup; so is the disk to be backupped, according to du.
    Up to now, no other problem occurred, but I´d like to clear this issue before my trust in time machine is restored.

  • Source List validity dates for MRP only

    Hi.
    Is there a way to do the following:
    Set purchasing view "source list required" so that the material must be purchased from ANY of the sources on the source list...  AND...
    Setup the source list so that there are no overlaps, and MRP sources from consecutive contracts based on the source list validity dates.
    For example, 1/1/10 to 5/1/10 -> Contract A (mrp relevant);  5/2/10-10/1/10 -> Contract B (mrp relevant).  But on 5/3/10 I want to be able to manually change the requisition away from "B" and release against Contract A.  In other words, I want MRP to get the sourcing close to correct, but allow the user the ability to override the MRP sourcing, AND still ensure that the source the user picks is on the source list somewhere.
    When I try this now, the system generates "Source list not included in list despite source list requirement."  The source list checking seems to be done all the way at the validity period level.

    hi,
    I understood your concept. Please explain it  clearly so that why this message
    is appearing " Source list not included in list despite source list requirement"
    can be found out
    Regards
    G.Ganesh Kumar

  • Trying to clear out as much space on my drive as possible

    I'm working on a video project and am running low on drive space. I've cleared out everything I can spare but still need more room. Are there any applications that take up a lot of space that I can delete and just reinstall them later? I seem to remember when I set up my system that Livetype took up a lot of space but I can't figure out how to remove it. Any recommendations would be helpful, thanks.

    The LiveType application takes up very little space (30MB) but the LiveType DATA or MEDIA folders use up to 9GB.
    You can delete those.
    However, the best thing you could do is to get a FireWire Hard Drive and all your storage problems would be over.
    If you want to find out what is using up the space in a couple of minutes, download WhatSize :-
    http://www.id-design.com/software/whatsize/
    WhatSize will list everything starting with the largest and also tell you where they are.
    Ian.

Maybe you are looking for