hello,
I have a datagrid in which I have grouped the rows according to the author.
I have bound the datagrid with collection of Author class objects. where, Author class have three properties as Book, Publication and Number of copies which would correspond to the columns in the group in datagrid.
My problem is I want to display the sum of 'Number of copies' for that group for each author. What I'm not getting is how shall i calculate the sum since it is for a group and not for each object or total datagrid.
Can it be done? Thanks in advance.