Hi, I have a XamDataGrid with 20-30 SummaryDefinitions. Each one I'd like to have a StringFormat of
"{}{0:0.##}"
so I created a style like so:
but it didn't work. Is there a way to accomplish this so I don't have to copy the same stringformat n times. Thanks.
Hello,
I am just checking if you got this worked out or you still require any assistance on the matter.
Thank you for your post. I have been looking through it and I suggest you add the following code in your XamDataGrid’s SummarySelectionControlClosed event:
if (e.SummariesChanged) { foreach (var item in xamDataGrid1.FieldLayouts[0].SummaryDefinitions) { item.StringFormat = "{}{0:0.##}"; } }
Please let me know if you need further clarifications on this matter on this matter.
Looking forward for your reply.