RasterList.sort( isAcsending [, colIndex [, dataIndex]] )

Sort list items.


Name Type   Description
isAcsending boolean True sort items in ascending order, false sort items in descending order. If this argument is null no sort operation will occur, but when in "table" mode any sort markings in a headers are removed.
colIndex number optional Specify the column to be sort items by. If this argument is omitted, 0 is assumed.
dataIndex number optional Specify the index of a hidden data element to be used for sorting instead of the data element associated with colIndex.


Type Description
object The list object. This allow for chaining multiple setter methods in one single statement.
Home Examples Download License
Copyright © 2010-2017 Edwin R. López