Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-28-2005, 05:17 PM   #1
Registered User
Join Date: Mar 2005
Posts: 3
Default Filter basics..

I'm having some basic trouble getting an XML filtered through a DataSet from an XML Component.
I've rummage through several posts and decided that I'm missing some basic knowledge :

I've dropped the function code onto the main screen:

this.myDataSet_ds.filtered = true;
this.myDataSet_ds.filterFunc = function(itembject) {
// filter out record cdafr22d
return(item.count != "cdafr22d");

The XML data is pretty straight forward:

<file name="DFID">
<description>OTHER GLOBAL ISSUES</description></file>

<file name="Guatemala ">
<description>OTHER GLOBAL ISSUES</description></file>

I've set up the data trigger from a simple button to a data grid, a la the Component Wizard, and that all works, but no filter.
Simple, or simply not possible?
A.Brady is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 06:51 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.