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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:11:24+00:00 2026-05-16T18:11:24+00:00

I have a datagrid: <mx:DataGrid id=resultsDataGrid height=328 width=604 paddingRight=0 editable=false y=43 horizontalCenter=0> <mx:columns> <mx:DataGridColumn

  • 0

I have a datagrid:

    <mx:DataGrid id="resultsDataGrid" 
                 height="328" width="604" paddingRight="0" editable="false" y="43" horizontalCenter="0">
        <mx:columns>
            <mx:DataGridColumn headerText="Title" dataField="title"/>
            <mx:DataGridColumn headerText="Updated" dataField="updated"/>
        </mx:columns>
    </mx:DataGrid>

I also have a REST service returning an xml file in the following format:

<feed xmlns="http://www.w3.org/2005/Atom">
<title></title>
<link href=""/>
<link rel="" href=""/>
<updated></updated>
<author>
    <name></name>
</author>
<id></id>
<entry>
<title></title>
<link href=""/>
<id></id>
<updated></updated>
<published></published>
<summary></summary>
<author>
    <name></name>
</author>
<category term="" label=""/>
<category term="" scheme=""/>
</entry>
</feed>

Now, all of those fields are populated when its returned but to keep it simpler to see I’ve removed the values.

I have an HTTPService trying to populate it, with the following result function:

        private function searched(event:ResultEvent):void
        {
            var result:XML = XML(event.result);
            //summaryText.text = result.toXMLString();
            //Alert.show(result.children().children().children().toString() + "hey");
            resultsDataGrid.dataProvider = result.entry;
        }

I only need the Title and Updated fields to actually be loaded into the DataGrid.
This clearly doesn’t work, so I’ve come asking for help, if anyone has experience and can tell me how to arrange it correctly, I’d appreciate it. (I think it’s related to result.entry, that it must be something else like result.feed.entry, but I’ve tried a number of combinations and they haven’t worked – unless I simply haven’t hit the right one.)

  • 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-16T18:11:25+00:00Added an answer on May 16, 2026 at 6:11 pm

    The namespace, oddly enough, is what is causing your problem. Prefixes are automatically generated for namespaces that don’t include them.

    Easiest solution: don’t use the namespace.

    Otherwise: you will need to do some research here: http://livedocs.adobe.com/flex/3/langref/Namespace.html

    In the following example code try clicking the buttons, you’ll see what’s happening:

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:XML id="atomNamespace">
            <feed xmlns="http://www.w3.org/2005/Atom">
                <title></title>
                <link href="" />
                <link rel="" href="" />
                <updated></updated>
                <author>
                    <name></name>
                </author>
                <id></id>
                <entry>
                    <title>Title text</title>
                    <link href="" />
                    <id></id>
                    <updated>2010-09-10</updated>
                    <published></published>
                    <summary></summary>
                    <author>
                        <name></name>
                    </author>
                    <category term="" label="" />
                    <category term="" scheme="" />
                </entry>
            </feed>
        </mx:XML>
        <mx:XML id="noNamespace">
            <feed>
                <title></title>
                <link href="" />
                <link rel="" href="" />
                <updated></updated>
                <author>
                    <name></name>
                </author>
                <id></id>
                <entry>
                    <title>Title text</title>
                    <link href="" />
                    <id></id>
                    <updated>2010-09-10</updated>
                    <published></published>
                    <summary></summary>
                    <author>
                        <name></name>
                    </author>
                    <category term="" label="" />
                    <category term="" scheme="" />
                </entry>
            </feed>
        </mx:XML>
        <mx:DataGrid id="resultList">
            <mx:columns>
                <mx:DataGridColumn headerText="Title" dataField="title" />
                <mx:DataGridColumn headerText="Updated" dataField="updated" />
            </mx:columns>
        </mx:DataGrid>
        <mx:Button label="Atom Namespace" click="resultList.dataProvider = atomNamespace..entry"/>
        <mx:Button label="No Namespace" click="resultList.dataProvider = noNamespace..entry"/>
    </mx:Application>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have DataGrid with dataBinding: <sdk:DataGrid x:Name=colorGrid Height=160 Margin=0,5,0,10 RowHeight=40 AutoGenerateColumns=False > <sdk:DataGrid.Columns> <sdk:DataGridTextColumn
I have a datagrid in C#.net I have made some columns in grid editable.
I have a datagrid view which is editable. I'm getting the value of a
I have a DataGrid in my wpf app <DataGrid Name=datagrid2 ItemSource={Binding} CanUserReorderColumns=False IsReadOnly=True SelectionMode=Single
I have a DataGrid bound to a DataView which, among other columns has, an
I have a datagrid with 2 columns. I need to access the item renderer
I have DataGrid with horizontal scrollbar. How can I get its visible width?
I have a datagrid that allows user to change and save columns widths and
i have datagrid with 5 columns in it. and i write some data to
I have DataGrid with explicitly created columns in code. I am binding WPF element

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.