I have a datagrid with XMLListcollection as the datasource.

I need to have the ability to do multiple step filters ie after 
applying one filter, the filtered dataset that comes back needs to 
be filtered again.

I think the filter function will only provide 1-step filtering, 
because when I call my generic filter function again, it filters the 
original dataset and not the filtered dataset. 

If that is the case, how do I copy the filtered xmllistcollection 
data not the original unfiltered data?

I tried the following

var myFilterDataSet:XMLListCollection;
..
..

myFilterDataSet.filterFunction = filterNumFunc; //calls the filter
myFilterDataSet.list // gives the original data

all the other functions (toArray(), toXML(), toXMLString(),
toString() gives the underlying unfiltered data not the filtered 
data as well)

Is there a way I can copy the filtered view data or do I need to use 
the IViewCursor and iterate through?


Saif

Reply via email to