Hello together
I have a hopefully simple question.
How can I access the grouping value in the GroupFooterTemplate?
What I can do in the GroupHeaderTemplate by using context.Value in the GroupFooterTemplate only aggregations are given in the "context".
Any help apreciated.
Best regards,
Benjamin
2 Answers, 1 is accepted
Hello again Benjamin,
I just realized I had missed a key point in your question. You are correct, the group footer does not provide the current group value, and just storing it from the header won't work out because there can be multiple groups.
So, for this you would need the template to provide more info in the context and that's something we need to implement in the component. You can Follow its status here: https://feedback.telerik.com/blazor/1486405-expose-current-group-field-value-and-the-rest-of-the-field-aggregates-in-the-groupfootertemplate. I've added your Vote to it on your behalf to raise its priority, and if you click the Follow button you will start getting emails for status updates (such as when we know which release will have it).
Regards,
Marin Bratanov
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Do you think I can do anything else to help this functionality be implemented? I see that the project is not open source, but maybe I am wrong and we can develop a Pull Request to do so?
Thanks, Dylan
(and I prefer 1000 times your approach, being honest and direct, than talking with vague words or anything, so thanks for that too :) )
Hello Benjamin,
You can take the value from the context and store it in a field in your view-model so you can use it for other things.
Regards,
Marin Bratanov
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.