RasterList.setSortCol( colIndex [, isAcsending] )

Shows or hides the sort arrow mark in a table list. This method does not sort the items, it only draws a sort arrow mark in any given header.

Parameters

Name Type   Description
colIndex number Specify the column to be marked as sorted. If this argument is omitted or set null the sort arrow mark is hidden.
isAcsending boolean optional Specifies the direction of the sort arrow mark. True shows a ascending sort arrow mark (default), false shows a descending sort arrow mark.

Returns

Type Description
object The list object. This allow for chaining multiple setter methods in one single statement.

See Also

Home Examples Download License
 
Copyright © 2010-2017 Edwin R. López