SortType - property of the PmgEventViewer object
Sorting direction (ascending/descending).
0 = ascending
1 = descending
Property access for read and write
. The preset value of this property is defined in the "Sorting type
" configurator of this object.
This method is also functional in Web panels
var oViewer = pMe.Items("/Viewer");
oViewer.SortType = 1;
// Writing into the property
var nSortType = oViewer.SortType;
// Reading from the property