GetSortMode

From Catglobe Wiki
Revision as of 04:46, 9 November 2017 by Nguyenduyan (talk | contribs) (Created page with "Category:Sorting_functions {{HelpFiles}} = getSortMode = Get sort mode to see whether the table is sorted by absolute or percentage == Syntax == getSortMode(); == Ar...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


getSortMode

Get sort mode to see whether the table is sorted by absolute or percentage

Syntax

getSortMode();

Arguments

None

Return type

Number. This is sort constant, which:

   1: Diagram_SortDataType_Absolute
   2: Diagram_SortDataType_Percentage

Example

DCS_use(15593723);
Tabulation_setSortOrderVertical(Tabulation_SortOrder_HighToLow);
setSortMode(Diagram_SortDataType_Percentage);
createCrossDiagram({"DD_Region"}, {"D_Gender"});
print(getSortMode());//2