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 587537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:13:22+00:00 2026-05-13T15:13:22+00:00

i have following xml <?xml version=1.0 encoding=UTF-8 ?> <Users> <User> <ID>SMSUser(63)</ID> <Email>a@example.com</Email> </User> <User>

  • 0

i have following xml

  <?xml version="1.0" encoding="UTF-8" ?> 
  <Users>
    <User>
      <ID>SMSUser(63)</ID> 
      <Email>a@example.com</Email> 
    </User>
    <User>
      <ID>SMSUser(64)</ID> 
      <Email>test@example.com</Email> 
    </User>
  </Users>

Above is bind with a datagrid as below

<mx:Script>
    <![CDATA[
        import mx.rpc.events.FaultEvent;
        import mx.collections.ArrayCollection;      
        import mx.controls.Alert;
        import mx.rpc.events.ResultEvent;       

        [Bindable]
        private var xmlData:ArrayCollection;

        private function resulthandler(e:ResultEvent):void
        {
            xmlData = e.result.Users.User;      
        }
        private function faulthandler(e:FaultEvent):void
        {
            Alert.show("Error");
        }


    ]]>
</mx:Script>


  <mx:HTTPService id="listData" result="resulthandler(event)" 
   fault="faulthandler(event)" resultFormat="object" 
    showBusyCursor="true" method="GET"> 
  </mx:HTTPService>        

    <mx:DataGrid id="dg" dataProvider="{xmlData}" >
        <mx:columns>
          <mx:DataGridColumn dataField="ID" headerText="ID" /> 
          <mx:DataGridColumn dataField="Email" headerText="Email" />      
        </mx:columns>                  
    </mx:DataGrid>

How can i show Email in textbox when user select any item in the grid?

  • 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-13T15:13:22+00:00Added an answer on May 13, 2026 at 3:13 pm
    <mx:TextInput text="{dg.selectedItem.Email}"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i want to post xml data in following format: <?xml version=1.0 encoding=UTF-8?> <data> <email>xyz@domain.com</email>
Say I have the following web.config: <?xml version=1.0 encoding=utf-8?> <configuration> <system.web> <authentication mode=Windows></authentication> </system.web>
<?xml version=1.0 encoding=utf-16?> <users> <user number=0772247157> <step stepnumber=1>complete</step> <step stepnumber=2>complete</step> <step stepnumber=3>complete</step> </user> <user
I have the following XML: <?xml version=1.0 encoding=UTF-8?> <gnm:Workbook xmlns:gnm=http://www.gnumeric.org/v10.dtd xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://www.gnumeric.org/v9.xsd> <office:document-meta xmlns:office=urn:oasis:names:tc:opendocument:xmlns:office:1.0
I have the multi module project this is the parent pom. <?xml version=1.0 encoding=UTF-8?>
My select_screen_menu.xml <?xml version=1.0 encoding=utf-8?> <menu xmlns:android=http://schemas.android.com/apk/res/android> <item android:id=@+id/home_menu android:icon=@drawable/home_tab android:title=Home /> <item android:id=@+id/submit_report
I have the following XML structure: <?xml version=1.0 ?> <course xml:lang=nl> <body> <item id=787900813228567
I have the following xml I'd like to deserialize into a class <?xml version=1.0
I have the following XML document: <projects> <project> <name>Shockwave</name> <language>Ruby</language> <owner>Brian May</owner> <state>New</state> <startDate>31/10/2008
I have the following xml that's sent to me from a web service. I'm

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.