This is probably simple, but I've not found a solution. I've a ground declared like so:
This is bound to a view model and all works fine except for the grouping. Is the above the correct format? I couldn't find explicit docs on this and just guessed, which is probably why it isn't working. The grouping works in the UI, although I can't configure the aggregates.
Is this possible, or have I just got the synax wrong?
Thanks
d
<div id="grid" data-role="grid" data-bind="source: tasks" data-columns='[{ "field": "taskId", "width": "150px", "title": "Id" }, ... ]' data-pageable='{ "pageSize": 10 }' data-groupable='[{ "field" : "completionStatusDescription", "aggregates": [{"field": "taskId", "aggregate": "count"}] }]' > </div>
This is bound to a view model and all works fine except for the grouping. Is the above the correct format? I couldn't find explicit docs on this and just guessed, which is probably why it isn't working. The grouping works in the UI, although I can't configure the aggregates.
Is this possible, or have I just got the synax wrong?
Thanks
d