"sortOnClick"

Controls table sorting when a table header is clicked on.

Synopsis

setValue(string shape, "sortOnClick", bool on);

getValue(string shape, "sortOnClick", bool &on);

shape.sortOnClick(bool on);

Parameters

Parameter Description
shape Name of the object
on Sort or no sort (TRUE/FALSE)

Description

When you click on individual table columns, the table is normally sorted by this column. In order to change this default, you can activate or deactivate sorting with this attribute.

Example

The following example deactivates sorting.

main()
{
  TABLE1.sortOnClick(FALSE);
}

Assignment

Table