How to add same name records from datagrid,while i am selecting one of the record and click add butt

hi  friends,
i  am doing flex 4 mxml web application with as3,i am struck up in the following  concept,shar your suggession about this.
i am using datagrid with 3 columns NUMBER, NAME, AMOUNT. one text box and one add button and one delete button.
i have two records in the same name in grid, when i click one record from the grid and click ADD button means that time ,both records  AMOUNT WILL ADDED   which record having the same name and give that value in a text box.
how to do this?
any useful suggesssion or modal sample
Thanks in advance,
B.venkatesan.

hi gajanan hiroji,
Thanks for the useful help.
And one more think i want ask you, i am doing web application, i am using 5 modules in that,every module in a single page.
In this application i am using datagrid in last 3 models. the operation is same for the models, select a record from grid then click post it should move to next page.
In that i am writting init() function . this for showing the last module posted records here while i am entering this model.
At the panel initializing time the records loading and showing in the gird,
i written refresh function for this .
But some times the function working properly and show the records in grid.
some time it wont show the records.
refresh function not working properly..
looking for usful suggession,
Thanks,
B.venkatesan.

Similar Messages

  • How to delete same name records from datagrid,while i am selecting one of the record and delete

    hi friends,
    i am working in flex 4 mxml web application with action script....i am using a data grid and one delete button outside the gird.
    i have two records in the same name in grid, when i click one record from the grid and click delete means that time ,both records will delete from that grid
    which record having the same name..
    how to do this?
    any useful suggesssion or snippets code for this..
    Thanks in advance,
    B.venkatesan.

    hello,
    first get the length of the datagrid.
    suppose your datagrid id is db and you want to delete the the row which have same name .....
    first get the selected row and from that name of the selcted row.
    supoose selected name is
    var index:int=db.selectedindex;
    var selname:string =bd.dataprovide.getItemAt(index).name;(name id datafield of the column).
    now you got the selected name search for the same rows in datagrid.
    var totallen:int=(db.dataprovider).length;
    for(var i:int=0;i<totallen;i++)
        var  checkduplicate:string=bd.dataprovide.getItemAt(i).name;
       if(checkduplicate==selname)
         db.dataProvider.removeItemAt(i);
    this will delete all the row which are with same name with selected row name...
    Gajanan Hiroji | [email protected] | www.isacglobal.com

  • How do I stop new tabs from opening - all I want is one window that I can click back and forth on the page history

    I do not want multiple windows or multiple tabs. In older Firefox versions just one window could be set, using the page history to go backwards or forwards. How do you disable new tabs or new windows from automatically opening in firefox 7?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    See also:
    * http://kb.mozillazine.org/browser.link.open_newwindow (3)
    * http://kb.mozillazine.org/browser.link.open_newwindow.restriction (0)

  • How do I unlink a device from an existing Apple ID. User forgot the username and password of the Apple ID

    Hi,
    A friend of mine bought a brand new iPad. He manage to enroll it to an Apple ID. However, he forgot the password of the Apple ID account and the device is linked to it. I tried to configure it myself. As i go through the configuration, it says "...This iPad is currently linked to an Apple ID (XXXXX)"
    I asked my friend, he forgot the username and password.
    Thanks....

    Hi
    I manage to login to his account and reset the password of his icloud account.
    However, now when i activate the ipad using this apple id and the password. It says...
    "xxxxxx" cannot be used to unlock this iPad.
    I have provided the right Apple ID and Password - still didnt work?
    Thanks.

  • When I get on the internet using firefox, it is real slow as numerous tabs are dispayed. never had this problem in past. If I right clisk on one of the tabs and click on "close other tabs" it does, but next time I get onto Firefox the same thing happens.

    Last week Firefox would not open at all so I got onto the internet using windows explorer. I then wen to firefox and downloaded it. since then I hav had this problem.

    Boot the computer in Windows Safe Mode with network support (press F8 on the boot screen) as a test to see if that helps.
    Do a malware check with some malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • How do I delete a song from my Itunes library? I follow the instructions and right click on the song and click delete from the drop down menu but, then it asks me if I am sure I want to hide this song in Iclouds? I dont even know what Iclouds is?!?! HELP!

    How do I delete a song from my Itunes music library? I follow the instructions and right click on the song and then select "delete" as specified and my info claims at that point it will ask if I want to send this song to my trash bin, but, instead, when I try to delete the song, I get another window asking "are you sure you want to hide this song in iCloud? I don't even know what iCloud is?!?!? I don't want iCloud and just want to get rid of old songs!!! HELP ME!!!

    Short answer:
    Click Hide Song(s), it is what you wanted to do...
    Long answer:
    iTunes in the Cloud is a feature of your iTunes store account that allows you to redownload or stream your past purchases. When you delete a purchased track that is downloaded to your computer (like the first one shown here) you are asked if you also want to hide the song from iCloud. This would remove it from the computer and also stop it showing up with the iCloud symbol as the other tracks from that album (which are not downloaded) do.
    If a track shows with the cloud symbol you can play (stream) it by double-clicking the title, or click the cloud symbol to download a local copy to your library. If you try to delete one of these tracks you get a slightly different message confirming that you want to hide the track. Clicking hide will remove the listing from the library and any other device that shows your past purchases.
    Should you want to retrieve any item hidden in this way at a later date use Store > View My Account > iTunes in the Cloud > Hidden Purchases > Manage.
    To hide all your previous purchases that are not downloaded to your computer use Edit > Preferences > Store and untick Show iTunes in the Cloud purchases.
    tt2

  • I have a DVD I recorded from my tv.  I am trying to make copies and when I insert the DVD I get a message saying it is blank even though it is not.  My question are: Why does my computer think it's blank? And how can I copy a DVD?

    I have a DVD I recorded from my tv.  I am trying to make copies and when I insert the DVD, I get a message saying the DVD is blank, which it is not.  My questions are: Why does my computer think it's blank?  And how can I copy the DVD providing my computer recognizes there is content on it?
    Thanks, Sheila

    TV video typically is copyrighted content.  We'd be breaking several rules trying to help you.  Good luck!

  • How do i stop my programs from automatically popping up when i turn on the computer?

    how do i stop my programs from automatically popping up when i turn on the computer?

    When you log out or shut down, there will be a checkbox that asks you if you want to reopen windows when you log in. Just uncheck this box. If that isn't it, you may have login items turned on. Go to System Preferences>Users and Groups and then under your name click the Login Itens tab. Make sure nothing is there.
    If you want to stop windows from restoring when you open applications (so for example when you open Safari it doesn't open the 50 tab page you just had open when you quit) go to SystemPreferences>General and then hit the checkbox that says Close windows when quitting an application.

  • How do I delete an iPad from my Mac, like I never sync in the first place?

    How do I delete an iPad from my Mac, like I never sync in the first place?

    I have a pc, rather than a mac, but the process is the same from what i have read on the Apple website. 
    You can restore to original factory settings as ifyou never synced the ipad with a computer by going to settings >reset (last option on the menu) > erase all content and settings. 
    Youcan also do it by connecting your ipad to your computer and choosing toRestore it from the 'summary' menu (below the Update option).  I wasnot able to do it this way because it kept timing out with the iPadsoftware update, but it might work for you.
    These options may take a while if you have lots ofcontent but once it is done it will just as it was when you bought it,with factory settings.
    NB: Note that this process will erase all content, so if you have purchased apps, music etc, be sure to transfer your purchases first!
    This process has worked for me and I am now just syncing my ipad with my desktop instead of my laptop.
    Hope this helps.

  • How do I transfer all info from old iPad to my new one including ibooks?

    How do I transfer all info from old iPad to my new one including ibooks?

    Sync your new iPad with the same computer that you synced your old one with.

  • HT1473 How do I play music/playlists from another iTunes account without having to transfer the purchases to my account?

    How do I play music/playlists from another iTunes account without having to transfer the purchases to my account?

    Get copies of the song files and add them to your iTunes library.

  • How to fix my Apple ID from not being disabled? I have changed the password many times already and it still wont let me update apps or download apps

    How to fix my Apple ID from not being disabled? I have changed the password many times already and it still wont let me update apps or download apps

    Apple ID disabled
    http://support.apple.com/kb/TS2446
    If you still have problem, contact iTune Support
    https://ssl.apple.com/emea/support/itunes/contact.html

  • How I can delete my account from Itunes Store? [I am not using it anymore and will not]]

    How I can delete my account from Itunes Store? [I am not using it anymore and will not]

    Just stop using it and remove your payment info.
    There is no need to do more.

  • HT1382 how can I restore my back up files from my laptop? i want to see the dates and time that I backed up  my files. is it posssible?

    how can I restore my back up files from my laptop? i want to see the dates and time that I backed up  my files. is it posssible?

    What backed up files?
    Available backups for an iOS device can be found in Edit > Preferences > Devices.

  • How do I select and email a whole lot of photos on my iPad from my iPad emails? It seems I have to go into Email and then insert one photo at a time? Isn't there a way to select all in the photos and then email the batch.?

    How do I select and email a whole lot of photos on my iPad from my iPad emails? It seems I have to go into Email and then insert one photo at a time? Isn't there a way to select all in the photos and then email the batch.?

    Actually, you can email up to 5 at a time from the Photos app. Select any more and the email share option will not appear.
    If you explain why you need to email large numbers of photos, we might be able to offer an alternative.

Maybe you are looking for

  • MIGO Error -while refering the subcontracting challan

    Hi all 1.)We purchsed material from vendor A & send these material to vendor B directly for Job work ( for this we have seperate PO with subcontractor) 2.) In Material PO we tick SC vendor & give vendor B. 3.) Then made GR(with only part 1) 4.) MMBE

  • HD Voice not ready

    I hate to you this at&t but your HD voice isn't ready for prime time. I had people call me these past few days, and I was breaking up on there end or there breaking up on my end. I switched to LTE data only on my iphone and it works. I'll turn on LTE

  • Query Processing Type in Reporting tools(Crystal, Webi Client, Deski etc)

    Hi, In tools like Webi, Crystal or Deski, query is executed serially. For Instance, if we have 3 dataproviders in a report, then first data provider fetches data and then second and the third one. In crystal Main report fetches the data first and fol

  • Ultra 40 Event12, Kernel-WHEA error log in WinVista x64

    While I still enjoy working with my Ultra 40 Workstation, lately, I've noticed Kernel-WHEA (EventID 12) error log which seems to appear everytime Windows Vista x64 boots up. My Ultra 40 has AMD Opteron 280 box with 4GB RAM and is running Windows Vist

  • Chinese character encoding

    I would like to migrate an access Db to Oracle 9i using Oracle Migration Workbench. I fouind that the correct java.properties file (to be used in omwb/jre/lib directory) to be used for this should be downloaded from www.sun.com but I am unable to get