• Getting Started
  • Components
    • Barcodes
    • Buttons
    • Chartsupdated
    • Conversational UIupdated
    • Data Query
    • Date Inputsupdated
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Filter
    • Gantt
    • Gauges
    • Gridupdated
    • Icons
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBox
    • ListView
    • Map
    • Menus
    • Navigation
    • Notification
    • Pager
    • PDF Export
    • PDFViewer
    • PivotGridupdated
    • Popup
    • ProgressBars
    • Ripple
    • Schedulerupdated
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • ToolBar
    • Tooltips
    • TreeList
    • TreeView
    • Typography
    • Uploads
    • Utilities
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Sample Applications
  • FAQ
  • Troubleshooting
  • Updates
  • Changelogs
New to Kendo UI for Angular? Start a free 30-day trial

GroupDescriptor

The group descriptor used by the groupBy method.

const groupDescriptor: GroupDescriptor[] = [
  {
    field: 'UnitsInStock',
    dir: 'asc',
    aggregates: [
      { field: 'UnitsInStock', aggregate: 'sum' },
      { field: 'UnitPrice', aggregate: 'average' },
    ],
  },
];

aggregates? Array<AggregateDescriptor>

The aggregates which are calculated during grouping.

compare? (a: any, b: any) => number

A custom function that defines the sort order of the group.

dir? "asc" | "desc"

The sort order of the group.

field string

The data item field by which the data will be grouped.

In this article

Not finding the help you need?