Flex-Show busy cursor when loading data into grid


Hi folks,

Currently I am learning Mate framework (mate.asfusion.com) which is available for flex Application development.

When you use any service call, like HTTPSerice, WebService  or RemoteObject method (more), you probably what to show  busy cursor when data is loading. So for that  you need following things:

Use this in the import section

import mx.managers.CursorManager;

and the following line before using the ‘send’ method

CursorManager.setBusyCursor();

and the following line when you want the busy cursor turned off –

CursorManager.removeBusyCursor();

Update: Please see my comment!

Advertisements

One thought on “Flex-Show busy cursor when loading data into grid

  1. Vikas Post author

    Hi,

    Recently I noticed that we have an option in service call to show busy cursor.

    It is like:

    destination=”ColdFusion” source=”cfc.categoryGateway” id=”categoryGateway” showBusyCursor=”true”

    So we don’t need to work with CursorManager! Cool!

    Reply

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s