that is what I mean :) I'll give that a shot. Thanks

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




__,_._,___

Reply via email to