WPF display record weekly wise in Datagrid with Summary : <p><a href="https://i.stack.imgur.com/lkJTM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lkJTM.png" alt="enter image description here"></a></p>

<p>I have a timesheet data, whose data model is defined as</p>

<pre><code>public class Timesheet
{
    public int Id { get; set; }
    public string Name { get; set; }
    public int Effort { get; set; }
    public DateTime Day { get; set; }
}
</code></pre>

<p>My challenge is to display the records in the week's format. However, I'm not sure what is the best approach to design the Datagrid in a way that when the list gets bind with it, the total summary of each column also gets displayed. </p>
