User Guide
DataSet.changesPending() 349
Description
Event; generated when values of calculated fields for the current item in the collection need to
be determined. A calculated field is one whose Kind property is set to Calculated on the
Schema tab of the Component inspector. The
calcFields event listener that you create
should perform the required calculation and set the value for the calculated field.
This event is also called when the value of a noncalculated field (that is, a field with its Kind
property set to Data on the Schema tab) is updated.
For more information on the Kind property, see “Schema kinds” in Using Flash.
DataSet.changesPending()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSetInstance.changesPending()
Returns
A Boolean value.
Description
Method; returns true if the collection, or any item in the collection, has changes pending that
have not yet been sent in a delta packet; otherwise, returns
false.
CAUTION
Do not change the values of any of noncalculated fields in this event, because this results
in an “infinite loop.” Set only the values of calculated fields within the
calcFields event.