Namespace: Grouping

WinJSContrib.UI.DataSources. Grouping

Source:

Example

var datamgr = new WinJSContrib.UI.DataSources.DataSourceManager({
   defaultGroupLimit: 12,
   groupKind: WinJSContrib.UI.DataSources.Grouping.byField,
   field: 'metadata.genre',
   listview: page.zoomedInList,
   zoomedOutListView: page.zoomedOutList
});

Members

<static> alphabetic

alphabetic grouping, use "options.field" to define the property used for grouping

Source:

<static> byDay

grouping by day from a date field, use "options.field" to define the property used for grouping

Source:

<static> byField

grouping by a string field on items, use "options.field" to define the property used for grouping

Source:

<static> byMonth

grouping by month from a date field, use "options.field" to define the property used for grouping

Source:

<static> byYear

grouping by year from a date field, use "options.field" to define the property used for grouping

Source: