Difference between revisions of "Tabulation setSortOrderHorizontal"
Nguyenduyan (talk | contribs) |
|||
(One intermediate revision by one other user 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 26: | Line 28: | ||
Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_None); | Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_None); | ||
− | + | <br/>Result:<br/> | |
− | Result: | ||
[[File:Tabulation_setSortOrderHorizontal_None.jpg]] | [[File:Tabulation_setSortOrderHorizontal_None.jpg]] | ||
Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_HighToLow); | Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_HighToLow); | ||
− | + | <br/>Result:<br/> | |
− | Result: | ||
[[File:Tabulation_setSortOrderHorizontal_HighToLow.jpg]] | [[File:Tabulation_setSortOrderHorizontal_HighToLow.jpg]] | ||
Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_LowToHigh); | Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_LowToHigh); | ||
− | + | <br/>Result:<br/> | |
− | Result: | ||
[[File:Tabulation_setSortOrderHorizontal_LowToHigh.jpg]] | [[File:Tabulation_setSortOrderHorizontal_LowToHigh.jpg]] | ||
Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_AtoZ); | Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_AtoZ); | ||
− | + | <br/>Result:<br/> | |
− | Result: | ||
[[File:Tabulation_setSortOrderHorizontal_AToZ.jpg]] | [[File:Tabulation_setSortOrderHorizontal_AToZ.jpg]] | ||
Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_ZtoA); | Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_ZtoA); | ||
+ | <br/>Result:<br/> | ||
+ | [[File:Tabulation_setSortOrderHorizontal_ZToA.jpg]] | ||
− | Result: | + | Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_HighToLowOnTotal); |
− | [[File: | + | <br/>Result:<br/> |
+ | [[File:Horizontal_sort_on_total_high_to_low.png]] | ||
+ | |||
+ | Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_LowToHighOnTotal); | ||
+ | <br/>Result:<br/> | ||
+ | [[File:Horizontal_sort_on_total.png]] |
Latest revision as of 11:28, 11 July 2017
Sort the tabulation table in horizontal
Syntax
Tabulation_setSortOrderHorizontal(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_setSortOrderHorizontal(Tabulation_SortOrder_None);
Result:
Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_HighToLow);
Result:
Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_LowToHigh);
Result:
Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_AtoZ);
Result:
Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_ZtoA);
Result:
Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_HighToLowOnTotal);
Result:
Tabulation_setSortOrderHorizontal(Tabulation_SortOrder_LowToHighOnTotal);
Result: