Jump to: navigation, search

Difference between revisions of "HowTo:Sort Objects on Mobile Client"


(Created page with "The sort order of objects on the mobile device is determined by the following criteria: '''Criterion 1''': Objects are sorted '''ascending''' by their '''GROUPID''' # Open th...")
 
Line 2: Line 2:
  
 
'''Criterion 1''': Objects are sorted '''ascending''' by their '''GROUPID'''
 
'''Criterion 1''': Objects are sorted '''ascending''' by their '''GROUPID'''
# Open the ''[[Relation Editor]]'' control
+
# Classify the item as sortable object as described in the article [[Make an Object sortable on Mobile Device]]
# Connect the designated Context Scope to the control, which is either a [[MetaClassScope|MetaClass Scope]] scope or a [[QueryScope|Query Scope]]
+
# Set any integer value to the '''GROUPID''' property<br />[[File:UI_HowTo_SortObjects_02.png‎|border|220px|alt=Sort by GROUPID|Sort by GROUPID]]
# Set the '''Priority''' attribute of the relational data to the appropriate value<br />[[File:UI_HowTo_SortMetaProperites_Mobile_02.png‎|border|220px|alt=Sorted by Priority|Sorted by Priority]]
+
# Objects are sorted ascending by their GROUPID
 +
# Object with the same GROUPID value are grouped together
  
 
'''Criterion 2''': Objects are sorted '''ascending''' by their '''ORDERID'''
 
'''Criterion 2''': Objects are sorted '''ascending''' by their '''ORDERID'''
# Open the ''[[Relation Editor]]'' control
+
# Classify the item as sortable object as described in the article [[Make an Object sortable on Mobile Device]]
# Connect the designated Context Scope to the control, which is either a [[MetaClassScope|MetaClass Scope]] scope or a [[QueryScope|Query Scope]]
+
# Set any integer value to the '''ORDERID''' property<br />[[File:UI_HowTo_SortObjects_03.png‎|border|220px|alt=Sort by ORDERID|Sort by ORDERID]]
# Set the '''Priority''' attribute of the relational data to the appropriate value<br />[[File:UI_HowTo_SortMetaProperites_Mobile_02.png‎|border|220px|alt=Sorted by Priority|Sorted by Priority]]
+
# Objects are sorted ascending by their ORDERID value (within the same GROUPID block)
  
 
'''Criterion 3''': Objects are sorted '''ascending''' according their '''description'''
 
'''Criterion 3''': Objects are sorted '''ascending''' according their '''description'''

Revision as of 16:08, 25 November 2013

The sort order of objects on the mobile device is determined by the following criteria:

Criterion 1: Objects are sorted ascending by their GROUPID

  1. Classify the item as sortable object as described in the article Make an Object sortable on Mobile Device
  2. Set any integer value to the GROUPID property
    Sort by GROUPID
  3. Objects are sorted ascending by their GROUPID
  4. Object with the same GROUPID value are grouped together

Criterion 2: Objects are sorted ascending by their ORDERID

  1. Classify the item as sortable object as described in the article Make an Object sortable on Mobile Device
  2. Set any integer value to the ORDERID property
    Sort by ORDERID
  3. Objects are sorted ascending by their ORDERID value (within the same GROUPID block)

Criterion 3: Objects are sorted ascending according their description See the Customize an Objects Display Behavior on the Mobile article for instructions how to set a non-standard description.

IC Attention.pngNon-applicable criteria, for example no GROUPID is set, are ignored by the system.