A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.telerik.com/kendo-react-ui/components/dataquery/api/groupdescriptor below:

React Data Query API GroupDescriptor

New to KendoReact? Start a free 30-day trial GroupDescriptor

Premium

The group descriptor used by the groupBy method.

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

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?

"desc" | "asc"

The sort order of the group.

field

string

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4