IsSorted (NotesViewColumn - JavaScript™)
Read-write. Indicates whether a column is an auto-sorted column.
Defined in
NotesViewColumnSyntax
isSorted() : boolean
setSorted(flag:boolean) : void
Legal value | Description |
---|---|
true |
if the column is auto-sorted |
false |
if the column is not auto-sorted |
Usage
In the sort tab for column properties, the Ascending or Descending button indicates an auto-sorted column.This property is false if the column is user-sorted but not auto-sorted.
This property must be true for the value of IsSortDescending to be effective. If IsSortDescending is set to true, it enables auto-sorting in descending order. If IsSortDescending is set to false, it enables auto-sorting in ascending order.
See IsSortDescending, IsResortAscending, and IsResortDescending to modify the auto-sort attributes.
See IsResortAscending, IsResortDescending, and IsResortToView for a user-sorted column.