IsSorted (ViewColumn - Java)

Read-write. Indicates whether a column is an auto-sorted column.

Note: This property is read-write with Release 6.5.

Defined in

ViewColumn

Data type

boolean

Syntax

public boolean isSorted()
    throws NotesException
public void setSorted(boolean flag)
    throws NotesException

Legal values

  • 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.

Example