Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6691007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:42:07+00:00 2026-05-26T05:42:07+00:00

In my flex application im using two datagrid first datgrid is for items collections

  • 0

In my flex application im using two datagrid
first datgrid is for items collections
second is for bank details.

if i click one row in first datagrid (which has the items collections)…a unique code is taken from the grid(which is primary key).

then,
i have to select two or more banks using itemrenderer checkboxes in second datagrid(which has the bank details)

now,,

i have to bind the bank details(one or more banks) with that one primary key in first datagrid. to an single array collection… and have to show it in another new datagrid(thirdone)…

any suggestions…..?
Thankx in Advance…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:42:07+00:00Added an answer on May 26, 2026 at 5:42 am

    just try this example select 1 item from itemgrid then select multiple banks from bankgrid then click button.

    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
                   xmlns:s="library://ns.adobe.com/flex/spark" 
                   xmlns:mx="library://ns.adobe.com/flex/mx" >
    <fx:Script>
        <![CDATA[
            import mx.collections.ArrayCollection;
            [Bindable]private var arcitem:ArrayCollection=new ArrayCollection([{Itemid:"i1",itemname:"item1"},
                {Itemid:"i2",itemname:"item2"},{Itemid:"i3",itemname:"item3"}]);
            [Bindable]private var arcBank:ArrayCollection=new ArrayCollection([{Bankid:"b1",bankname:"Bank1"},
                {Bankid:"b2",bankname:"Bank2"},{Bankid:"b3",bankname:"Bank3"}]);
            [Bindable]private var arcFinalList:ArrayCollection=new ArrayCollection();
            private function something():void
            {
    
                for(var i:int=0;i<dgBank.selectedItems.length;i++){
                    var obj:Object=new Object;
                    obj.Itemid=dgItem.selectedItem.Itemid;
                    obj.Bankid=dgBank.selectedItems[i].Bankid;
                    obj.bankname=dgBank.selectedItems[i].bankname;
                    arcFinalList.addItem(obj);} 
            }
        ]]>
    </fx:Script>
        <mx:DataGrid dataProvider="{arcitem}" id="dgItem"  x="27" y="10" />
        <mx:DataGrid dataProvider="{arcBank}" id="dgBank"  x="322" y="10" allowMultipleSelection="true"/>
        <mx:DataGrid dataProvider="{arcFinalList}" x="641" y="9"/>
        <s:Button label="Click" click="something()" x="397" y="199"/>
    </s:Application>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created one application in flex that is accessing the Java webservice using
One of the actions a user can perform using the ESRI Flex Viewer application
In my flex application im using a datagrid which has checkbox itemrenderer column im
I want to play Audio in flex application.I am using SWFLoader for it.Is there
My Flex application records audio-only FLV files using red5--I'd like to convert these to
I have a Flex application where I'm using a Canvas to contain several other
I have created an application using Adobe Flex. I took all the files from
I'm using http://code.google.com/p/flex-iframe/ for showing html in an flex application. To set this up
Currently I am working on flex application where I am using multicore variant of
Im using states in my flex form application. The base state is the regular

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.