On 7/28/06, ben.clinkinbeard <[EMAIL PROTECTED]
> wrote:
I don't have the IDE in front of me but I would think something like
this should work:
function changeDP(attrName):void
{
var list:XMLList = baseXml..myNodes.([EMAIL PROTECTED]);
myDG.dataProvider = list;
}
Is that what you mean?
HTH,
Ben
http://www.returnundefined.com/
--- In flexcoders@yahoogroups.com, "John Wilker" <[EMAIL PROTECTED]> wrote:
>
> I'm working on a project that has a datagrid, who gets data from an XML
> object.
>
> I'm trying to figure out how to use E4X to filter the XML data I got and
> update the datagrid so I have less roundtrips to the server. I've found
> several examples in language reference, but those make use of either
> directly binding to an E4X statement, or using MX binding to do the
same.
>
> I'd like to have a function, that will filter my large XML dataset,
using
> E4X (ie, get just the nodes that are of type XYZ) and use that to
populate
> the datagrid.
>
> Hopefully that makes sense?
>
> --
> John Wilker
> Vice President Software Development/Writer
> Red Omega Solutions, Inc.
> www.johnwilker.com / www.red-omega.com
>
> "Everything changes, nothing remains without change." ~Buddha c.483 bc
>
--
John Wilker
Vice President Software Development/Writer
Red Omega Solutions, Inc.
www.johnwilker.com / www.red-omega.com
"Everything changes, nothing remains without change." ~Buddha c.483 bc __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
![]()
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
- [flexcoders] using E4X to filter data in a datagrid John Wilker
- [flexcoders] Re: using E4X to filter data in a datag... ben.clinkinbeard
- Re: [flexcoders] Re: using E4X to filter data in... John Wilker
- Re: [flexcoders] Re: using E4X to filter dat... John Wilker
Reply via email to