septemberbrain wrote:
> Hello,
>
> I'd like to find a way to change the region state when a
filter is applied to
> it. I am using an XML data set that is large and when a
filter is selected
> there is a noticeable delay. I would like the Loading
state to appear when a
> filter is selected or at least hide the region till it
is done. Anyone know
> how to do this? I have tried a number of methods and
have not been successful.
The XML data set inherits certain notification events from
the DataSet class. Take a look at the DataSet Observer sample page:
http://labs.adobe.com/technologies/spry/samples/data_region/DataSetObserver.html
One of the buttons performs a filter and uses the
onDataChanged event to notify the observer. In your observer you
could perform some action when the filter is applied.
--
Danilo Celic
| Extending Knowledge Daily :
http://CommunityMX.com/
| Adobe Community Expert