Difference between revisions of "Tabulation setSortOrderVertical"
Nguyenduyan (talk | contribs) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 18: | Line 18: | ||
*3: Tabulation_SortOrder_AtoZ | *3: Tabulation_SortOrder_AtoZ | ||
*4: Tabulation_SortOrder_ZtoA | *4: Tabulation_SortOrder_ZtoA | ||
+ | *5: Tabulation_SortOrder_HighToLowOnTotal | ||
+ | *6: Tabulation_SortOrder_LowToHighOnTotal | ||
===Return type=== | ===Return type=== | ||
Line 27: | Line 29: | ||
Tabulation_setSortOrderVertical(Tabulation_SortOrder_None); | Tabulation_setSortOrderVertical(Tabulation_SortOrder_None); | ||
<br/>Result:<br/> | <br/>Result:<br/> | ||
− | [[File: | + | [[File:Tabulation_getSortOrderVertical_None.jpg]] |
Tabulation_setSortOrderVertical(Tabulation_SortOrder_HighToLow); | Tabulation_setSortOrderVertical(Tabulation_SortOrder_HighToLow); | ||
<br/>Result:<br/> | <br/>Result:<br/> | ||
− | [[File: | + | [[File:Tabulation_getSortOrderVertical_HighToLow.jpg]] |
Tabulation_setSortOrderVertical(Tabulation_SortOrder_LowToHigh); | Tabulation_setSortOrderVertical(Tabulation_SortOrder_LowToHigh); | ||
<br/>Result:<br/> | <br/>Result:<br/> | ||
− | [[File: | + | [[File:Tabulation_getSortOrderVertical_LowToHigh.jpg]] |
Tabulation_setSortOrderVertical(Tabulation_SortOrder_AtoZ); | Tabulation_setSortOrderVertical(Tabulation_SortOrder_AtoZ); | ||
<br/>Result:<br/> | <br/>Result:<br/> | ||
− | [[File: | + | [[File:Tabulation_getSortOrderVertical_AToZ.jpg]] |
Tabulation_setSortOrderVertical(Tabulation_SortOrder_ZtoA); | Tabulation_setSortOrderVertical(Tabulation_SortOrder_ZtoA); | ||
<br/>Result:<br/> | <br/>Result:<br/> | ||
− | [[File: | + | [[File:Tabulation_getSortOrderVertical_ZToA.jpg]] |
+ | |||
+ | Tabulation_setSortOrderVertical(Tabulation_SortOrder_HighToLowOnTotal); | ||
+ | <br/>Result:<br/> | ||
+ | [[File:Vertical_sort_on_total_high_to_low.png]] | ||
+ | |||
+ | Tabulation_setSortOrderVertical(Tabulation_SortOrder_LowToHighOnTotal); | ||
+ | <br/>Result:<br/> | ||
+ | [[File:Vertical_sort_on_total.png]] |
Latest revision as of 11:23, 11 July 2017
Sort the tabulation table in vertical
Syntax
Tabulation_setSortOrderVertical(sortOrder)
Arguments
sortOrder: Is a numeric (non-decimal) expression. The constants for this parameter:
- 0: Tabulation_SortOrder_None
- 1: Tabulation_SortOrder_HighToLow
- 2: Tabulation_SortOrder_LowToHigh
- 3: Tabulation_SortOrder_AtoZ
- 4: Tabulation_SortOrder_ZtoA
- 5: Tabulation_SortOrder_HighToLowOnTotal
- 6: Tabulation_SortOrder_LowToHighOnTotal
Return type
empty
Examples
Tabulation_setSortOrderVertical(Tabulation_SortOrder_None);
Result:
Tabulation_setSortOrderVertical(Tabulation_SortOrder_HighToLow);
Result:
Tabulation_setSortOrderVertical(Tabulation_SortOrder_LowToHigh);
Result:
Tabulation_setSortOrderVertical(Tabulation_SortOrder_AtoZ);
Result:
Tabulation_setSortOrderVertical(Tabulation_SortOrder_ZtoA);
Result:
Tabulation_setSortOrderVertical(Tabulation_SortOrder_HighToLowOnTotal);
Result:
Tabulation_setSortOrderVertical(Tabulation_SortOrder_LowToHighOnTotal);
Result: