Skip to content

Grouping

The Mobile Development Kit now supports grouping of items within the Object Table section. Grouping is based on the final $orderby query option of the control's Target Binding, which allows developers to select the OData properties to be used for grouping.

"Grouping": {
  "GroupingProperties": ["Country", "City"],
  "Header": {
    "Items": [{
      "Title": "Group Country - {Country}, City - {City}",
      "Styles": {
        "Title": "DataTableGroupHeaderItem",
        "BackgroundColor": "sectionBgColor"
      }
    }]
  }
},
"_Type": "Section.Type.ObjectTable"

Key Elements

  • GroupingProperties: These are the properties of the EntitySet used to group the list items. They are injected into the $orderby query. For the sample above, the query will be $orderby=Country,City.
  • Items: Currently, only one item is supported, which is a Label. Additional items are ignored.

Last update: April 8, 2025