Howto clear datagrid contents?

Is there an easy way to simply clear all the contents that
were previously displayed in a datagrid?
I have a datagrid, when a user logs in, they can hit refresh
and it will populate the datagrid. But I would like to clear the
contents when the user logs off. Or simply by clicking a button to
clear all of the contents.
Does anyone have any ideas on this? I've searched the forums,
but nothing popped up.
Thanks,
Chris

So I have this function to create my output that I use to
populate the datagrid:
[Bindable] public var _xmlReturnHTML:XML;
private function chkoutput(evt:ResultEvent):void {
_xmlReturnHTML = XML(evt.result);
Can I simply do this (below) and set it equal to nothing? It
seems to work, but I want to check to see if it's acceptable?
_xmlReturnHTML.files='';
Thanks for your time.
Chris

Similar Messages

  • How can I change the apple ID on my iPhone to clear all contents and installation?

    I still have my iPhone 4s, Which I stopped using when the screen died. I bought a new iPhone 5s. Since, I've changed my Apple ID main e-mail address.
    Today I had the screen of the old 4s fixed. Now I want to clear all contents and installation so that I can sell it.
    Problem is, that it keeps asking me to verify my Apple ID with my old e-mail address, which obviously doesn't work.
    I've allready changed the Apple ID e-mail address in the Apple-ID area in settings. But this doesn't help.
    Does anyone know the way out of this?!?
    Thanks!

    http://support.apple.com/kb/HT5661

  • Need to function module to clear Subscreen contents

    Hi.
    can anyone say Function module which clears the contents of Subscreen when navigated from subscreen to subscreen.
    MY Problem:
    i have 6 subscreen.(A,B,C,D,E,F) each subscreen has 100 checkboxes.
    i checked some checkboxes of subscreen A. And navigated to subscreen B. And again navigated back to subscreen A.
    I found all the checkboxes what i checked before are checked. I want them to be unchecked(screen not refreshed), when i come back to that subscreen.
    Any Function module avaliable to refresh screen contents.
    Help me.

    Don't think so. I am affraid you will have to clear all checkboxes one by one. Anyhow you can use field symbols to address them dynamically and clear their content.
    "suppose you have checkboxes ch_01, ch_02 ... ch99
    field-symbols <checkbox> type any.
    data: g_checkbox_name type string.
    data: n_index(2) type n.
    do 99 times.
      n_index = sy-index.
      concatenate 'CH_' n_index into  g_checkbox_name.
      assign (g_checkbox_name) to <checkbox>.
      check sy-subrc = 0.
       "cleat the content of subsequent checkboxes
       clear <checkbox>.
    enddo.
    Regards
    Marcin

  • How to clear the contents of a table

    I was using a 'build table' to collect some datas and pass it to an 'Express  table'.
    what are the possible options to clear the contents of that table?
    How can i clear the contents using a 'button'?

    Build table function has an additional input called 'Reset'
    Attach a boolean to it.
    On front panel, set the boolean's mechanical action as 'latch when released'
    Look at attached vi
    Regards,
    Dev
    Message Edited by devchander on 08-06-2007 08:02 AM
    Attachments:
    reset table.vi ‏57 KB

  • How to clear the contents of table control

    Hi All,
              How to clear the contents that are present in a Table control. If there is any code Please Let me know.
    I will assign full marks to the correct code.
    Pradeep Kumar Kota.

    Hi
    U need to clear the contenents of internal table used to store the record displayed by table control.
    Every time the PBO is triggered the table control is automatically cleared, so you need only not to transfer any data from internal table to table control.
    So you should show how your PBO if you want a right answer.
    Max

  • Clear the content of a text field

    hello guys,
    i have text fields in a screen which are been populated in the PBO. Now i want to clear the content of the  text field such that the user can input new values in those text field.
    so, anyone knows how i can achieve this.
    tried,
    text field name = ' ', space.
    clear text field name.
    but none worked.
    thanks you for ur help.

    Hi,
    I think you have doen some thing like this in PBO.
    screen_field_name = 'some value'.
    So now in PAI you can do the following.
    CASE sy-ucomm.
         WHEN 'F_CLEAR'.    " Fcode for the clear button in the screen.
          CLEAR : field_name.
      ENDCASE.
    If the field is a mandatory field then you need to create a AT EXIT module and write the same code in that.
    Hope it helps you.
    Thanks,
    Sri.

  • Clear the contents of a field on open

    Hello,
    I would like to clear the contents of a field upon opening a form record. This field will then be populated with the logged on user name, V('APP_USER'). This is to display the user who last edited the record.
    Does anyone know how to do this? The field will only update if it is empty to start with so I need to delete the field contents only if the 'Save' button is pressed and then replace it with the current logged in user.
    Thankyou in advance,
    Kind Regards,
    Steve Welch

    Hello Scott,
    Sorry it was very simple in the end. Thanks for pointing me in the right direction. PL/SQL Expression, V('APP_USER')
    Kind Regards,
    Steve Welch

  • Is It safe/ok to clear all contents inside /var/folders ?

    I read that it's safe/ok to clear all contents inside /var/folders and saves GB and computer goes faster. Any feedback for this ?

    stamatgeorge wrote:
    I read that it's safe/ok to clear all contents inside /var/folders and saves GB and computer goes faster.
    Are you short on disk space? If so:
    These aren't the files you're looking for. Move along. Consider moving some of YOUR documents to another drive, or even installing a larger drive to replace your current one.
    Is your computer unusually slow? If so:
    These aren't the files you're looking for. Move along. Any slowness is likely to be caused by some poor quality software that you've installed.

  • My iMac keeps telling me that a DVD that clearly has content on it, is blank.

    Hello:  My iMac keeps telling me that a DVD that clearly has content on it, is blank.  I thought, at first, that maybe the disc was blank.  But then I inserted a DVD movie that I created using iMovie and it told me the same thing.  No matter what DVD I inserted, I got the same response..Does this mean that the Optical Drive is dead?  Do I need to purchase a "Super Drive"?  Any and all assistance is greatly appreciated...Thanks

    There are two schools of thought on external optical drives.
    You can go with cheap drives (anything under $50) and know going in that you may have to replace the drive in a year or two if you use the drive regularity.
    The other thought is to purchase more expensive drives that will last longer than two or three years that are faster and are bulit to be more durable and rugged.
    I am in this camp.
    Here is one I would recommend.
    http://eshop.macsales.com/item/OWC/MRF82SD24S/
    This one has no burning software included. If you have burning software already, this shouldn't be an issue.
    Here's the one I use, but the used price for this is too high, IMO
    I only paid $179 for this new, locally.
    http://www.amazon.com/LaCie-Blu-Ray-FireWire-Drive-301906U/dp/B003D4OXCQ/ref=sr_ 1_14?ie=UTF8&qid=1378224570&sr=8-14&keywords=LaCie+optical+drives
    IF you want to add additonal Blu-ray Capabilites, there are many other drives listed here in different price ranges.
    http://eshop.macsales.com/shop/firewire/optical-drives/
    I prefer the OWC Mercury Pro line of drives,  prefer tray loading drives that have multiple connections (in case one connection scheme goes bad) and drives that have their own power supplies and do not rely on bus power from the computer, itself. These drives come in a very durable and rugged enclosure.

  • I am selling an iPad and cleared its contents and settings as given in other exchanges on this site but when I downloaded a new app on my iPhone it appeared on the iPad.   Any idea why?

    I am selling an iPad and cleared its contents and settings as given in other exchanges on this site but when I downloaded a new app on my iPhone it appeared on the iPad.   Any idea why?

    Sounds like you did not set back as new, or if you did you reset the iPad with your Apple Id again.
    If it had been reset back as new it would have stayed at the Begin Setup screen, and you wouldn't have been able to see any Apps being downloaded, as you wouldn't have acccess to the Home Screen yet.
    Follow Diavonex's post to restore the iPAd back to factory defaults, and that's it. It should be back to the Setup screen, without any Apple Id associated with it, and no Home screen visible.

  • I tryed to clear all content on my phone but it has a circle come up and has had this for about a hour i cant do anything with it not even turn it off help

    i have tryed to clear all content from my iphone4 and now it just has a ring going around for the last hour it wont even turn off help

    nt want to have to sit and go through my whole camera roll deleting my pictures.
    So you do not want to keep any of the pictures you took with your iPhone 5?
    Settings > General > Usage - Photos & Camera.
    Swipe across Camera roll then tap Delete.

  • UCM how to clear "Workflow Content Items In Queue"

    Hi
    How to clear "Workflow Content Items In Queue", if i click "Remove item from Queue" under Action also content item is remains in workflow queue.
    How to fix it?
    Thanks
    Deepak

    Hi Srinath,
    I have checked the idc analyze. "check search index" is not running shows error. please check the log file below without selecting "check search index" other three(check database, check file system, generate report) ends with 0 errors. Is there any other solution to clear the workflow items?
    Analyzing tables...
    WARNING: Checking dRevClassID<->dDocName consistency can take several minutes on large repositories!
    Finished checking 47 entries.
    Errors Found: 0
    Errors Fixed: 0
    Analyzing filesystem...
    Finished checking 47 entries.
    Errors Found: 0
    Errors Fixed: 0
    Generate report
    Number of items grouped by: dReleaseState
    Workflow : 4
    Old : 6
    Current : 37
    Number of items grouped by: dStatus
    Edit : 2
    Released : 43
    Review : 2
    Number of items grouped by: dProcessingState
    Converted : 42
    Metadata Only : 5
    Number of items grouped by: dStatus, dReleaseState
    Current and Released : 37
    Workflow and Review : 2
    Old and Released : 6
    Workflow and Edit : 2
    Thanks
    Deepak

  • Clear UDF contents

    Hi,
    We have a UDF in the header level of our ItemMaster data. The number in this field is used to calculate discount and new price.
    The trouble now is that we need to remove all of these numbers using DTW, there are too many to update manually.
    I tried using a / in the fields we want cleared but it seems to give the UDF a value of 0 instead of clearing it completely (I am assuming this is because the UDF is defined as a numeric value).
    Is it possible to use DTW to "clear the contents" of a UDF, as opposed to replacing it with a "0"?
    Many Thanks,
    -Steve

    This UDF doesn't have valid fields defined.
    This goes back to a thread I posted some time ago asking about item based quantity discounts. Even though the functionality exists within SBO, our partner company had to write an addon to handle this (not sure why).
    So we have 6 total UDFs.
    Level1Qty - 2
    Level2Qty - 4
    Level3Qty - 6
    Level1Price - .90
    Level2Price - .80
    Level3Price - .70
    If the buyer purchases 2 of an item they get the level 1 price, 4 items gets them level 2 price, 6 items gets them level 3 price.
    By using DTW to replace the numbers (they are all just numeric values) with zeros, I am worried that it is going to adjust the price for all of these items to $0.00 regardless of how many they buy. This is why I would prefer to have the fields blank.
    The only work around I can think of is to set all of those field values to 9999999 since no one will ever buy 999999 of an item.
    I would prefer to stay away from editing via SQL unless necessary. What are the steps involved in doing it via SQL?

  • Im running out of space, how do I clear old content temp files

    Im running out of space, how do I clear old content temp files old apps?
    i have done the browser cache and cleared history.I am clearing items off the macbook pro but is there other areas i should clean
    Thanks

    Im running out of space, how do I clear old content temp files old apps?
    I'm not sure exactly what you're asking. Temp files get automatically deleted when you restart. Old apps you can either uninstall (if it was originally installed with an installer, there should be an uninstaller somewhere) or drag it to the trash. What's "old content"?
    i have done the browser cache and cleared history.
    This is not going to give you back much space.

  • Is there an easy way to clear the contents of Download Folder?

    Is there an easier way to clear out files (send to trash) from the downloads folder, other than dragging one by one? The downloads folder closes immediately upon dragging one file out.

    You do not need to invoke Finder to do this. Create a new empty Automator workflow and use the "Run Shell Script" option. Paste in the following....
    mv ~/Downloads/* ~/.Trash
    You can then save the workflow as an application, attach it as a Finder action or add it to the scripts menu, whichever you like better.
    If you would like to bypass the Trash and just completely delete the Downloads folder contents immediately, then paste in this command:
    rm -rf ~/Downloads/*

Maybe you are looking for

  • I keep getting an error when exporting. Help

    I have been trying to export a video, and when ever is 1/2 way it gives me a system error. Can anyone help? thanks. G5 2.3Ghz   Mac OS X (10.4.1)  

  • ABAP runtime errors "DYNPRO_MSG_IN_HELP"

    Hello Friends, Help me to solve the ABAP runtime errors "DYNPRO_MSG_IN_HELP" The ABAP dump occurred executing transaction "ZQ01". The dump occurs in standard program "SAPMZQ01 " of transaction "ZQ01" . Error Comes during "F4" processing, the program

  • Crystal Reports Connection Types

    I have a web server that houses a db2 database.  For those users who are not on the network, I would like users to run reports from the "cloud" (the internet).  Does anyone know how I can do that?  What connection type I can use?  Any insight would b

  • How to use Satellite P100 with MS Vista and MS Bluetooth stack?

    I'm using my Sat P100 for more than one year. I just reinstalled Windows Vista Ultimate from scratch, and because I'm really not so much satisfied with Toshiba's Bluetooth stack, I'm trying to use original Microsoft's Bluetooth stack, which comes wit

  • TRIGGER WORKFLOW IN  HR MODULE FOR TERMINATION OF AN EMPLOYEE

    Hi all i have an employee terminated in my organisation and i have to trigger the workflow at the background to inform through mail the line manager and the finince dept.to clear all his dues or to make a final settlement. As soon as i fill the bank