Using the knockout binding syntax in knockout-kendo, is it possible to define how the data should be grouped? Ideally I'd like to disable the user from grouping and perform the grouping via the binding (or perhaps I will need to create a binding to do this?)
Update:
This seems to work fine if I define my property as a kendo.data.DataSource
var dataSource = new kendo.data.DataSource({
data: response,
// group by the "category" field
group: { field: "category" }
});
Best I can tell, it doesn't appear to me like the knockout-kendo library supplies a hook to feed additional optional parameters to the datasource that it creates for you... So there is no way to supply the "group" modifier to a non-kendo.data.DataSource that you pass in via the simplified, or options syntax.
kendo.data.DataSourceor ako.obsrevableArray. Because default grouping can be only configured for akendo.data.DataSourceor you need to manually group your data in a format what the kendogrid expects... - nemesv