}
myDataSet.removeRange();
myDataSet.removeSort("name_id");
See also
DataSet.applyUpdates()
DataSet.setRange()
DataSet.removeSort()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
dataSet.removeSort(sortName)
Parameters
A string that specifies the name of the sort to remove.
sortName
Returns
Nothing.
Description
Method; removes the specified sort from this DataSet object if the sort exists. If the specified sort
does not exist, this method throws a
Example
myDataSet.addSort("name_id", ["name", "id"]);
myDataSet.setRange(["Bobby", 105],["Cathy", 110]);
while(myDataSet.hasNext()) {
myDataSet.gradeLevel ="5"; // change all of the grades in this range
myDataSet.next();
}
myDataSet.removeRange();
myDataSet.removeSort("name_id");
See also
DataSet.applyUpdates()
DataSet.setRange()
342
Chapter 6: Components Dictionary
,
DataSet.hasNext()
DataSetError
,
DataSet.hasNext()
,
,
DataSet.next()
DataSet.removeSort()
exception.
,
,
DataSet.next()
DataSet.removeRange()
,
,
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?