Custom grouping settings for WinJSContrib.UI.DataSources.DataSourceManager
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
-
<static> byDay
-
grouping by day from a date field, use "options.field" to define the property used for grouping
-
<static> byField
-
grouping by a string field on items, use "options.field" to define the property used for grouping
-
<static> byMonth
-
grouping by month from a date field, use "options.field" to define the property used for grouping
-
<static> byYear
-
grouping by year from a date field, use "options.field" to define the property used for grouping