Hi, I've a complicated requirement for Xamgrid grouping and summary row:
I've below data:
Store,Product,SizeS,SizeM,SizeL
s1, p1, 1,2,3
s1, p2, 3,2,4
s2, p1, 4,5,3
s2, p2, 7,5,3
now, I want to show this data in xamgrid with summary & group.
I grouped the data on Store, so, it looks like (expanded):
v s1
v s2
But, I want it to be shown like:
store, sizeS, sizeM, SizeL
>s1, 4,4,7
>s2, 11,10,6
(notice, the figures are Sum of sizes)
here ">" show its expandable. and upon expanding first store:
v s1, 4, 4, 7
product, sizeS, SizeM, SizeL
p1, 1,2,3
p2, 3,2,4
Any pointers, pls??
Hi Stefan,
Thanks for the reply.
I've seen that example before and found that it's the "closest match" to my requirement.
However, to use that, i guess i need to specify "<ig:TextColumn.GroupByItemTemplate>" and I see 3 problems with that :
1. i've to write xaml for each column that i want to display, with width and all. i've somany columns to be displayed
2. since it's not a proper xamgrid column header/row, so, it can not be sorted etc. (i dont have the grouped column indicator displayed on top).
3. i've dynamic columns as well. so, i dont know if this approach work with dynamic column or not.
Do we have any sample ready for this feature, where i can run and play with?
thanks again.
Hello Vijay,
Thank you for your post. I have been looking into it and I can suggest you see this sample from our online Samples Browser:
http://es.infragistics.com/products/silverlight/sample/grid/#/summary-row-in-groupby-headers
where it is shown how to achieve the functionality you want. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.