| Action | Sort
| | Description | Sorts the grid in ascending or descending order
| | Examples | Dim sf As OlapXSortFlag
sf = OlapXSFAsc
With Cube1
Call .setValue("Row", 1)
Call .setValue("Col", 1)
Call .setValue("SortFlag", sf)
Call .DoAction("Sort")
End With
| | Example Explanation | This example says: Click on cell (1, 1) of data grid. Choose ascending sort for the SortFlag variable.
| See also |
| SetValue | Sets a control variable
|
| | Notes | The data matrix grid begins at (0, 0) at its top left cell.
You can use: 0 for no sort, 1 for ascending sort and 2 for descending sort instead of the sf variable.
| |
|