User Guide
306 Chapter 6: Components Dictionary
Property summary for the DataSet class
The following table lists the properties of the DataSet class.
Event summary for the DataSet class
The following table lists the events of the DataSet class.
Property Description
DataSet.currentItem Returns the current item in the collection.
DataSet.dataProvider Returns the data provider.
DataSet.deltaPacket Returns changes made to the collection, or assigns changes to be
made to the collection.
DataSet.filtered Indicates whether items are filtered.
DataSet.filterFunc User-defined function for filtering items in the collection.
DataSet.items Items in the collection.
DataSet.itemClassName Name of the object to create when assigning items.
DataSet.length Specifies the number of items in the current view of the collection.
DataSet.logChanges Indicates whether changes made to the collection, or its items,
are recorded.
DataSet.properties Contains the properties (fields) for any transfer object in
this collection.
DataSet.readOnly Indicates whether the collection can be modified.
DataSet.schema Specifies the collection’s schema in XML format.
DataSet.selectedIndex Contains the current item’s index in the collection.
Event Description
DataSet.addItem Broadcast before an item is added to the collection.
DataSet.afterLoaded Broadcast after the items property is assigned.
DataSet.calcFields Broadcast when calculated fields should be updated.
DataSet.deltaPacketChanged Broadcast when the DataSet object’s delta packet has been
changed and is ready to be used.
DataSet.iteratorScrolled Broadcast when the iterator’s position is changed.
DataSet.modelChanged Broadcast when items in the collection have been modified in
some way.
DataSet.newItem Broadcast when a new transfer object is constructed by the
DataSet object, but before it is added to the collection.
DataSet.removeItem Broadcast before an item is removed.
DataSet.resolveDelta Broadcast when a delta packet is assigned to the DataSet object
that contains messages.