Note that the footer has to be defined per column otherwise the cell will appear empty.
Well... I know that obviously you have to define Footer Text or an aggregate to show the footer row. That's not the issue. The issue is that I have a column with an aggregate, but if it's not displayed because the user scrolled away from it, the whole footer area disappears. It's a very bad user experience.
Can't you bind the visibility of that footer area to a flag indicating if any of the columns have footer text or an aggregate? Rather than just the ones being displayed?
I've attached a zip with a screen capture of the issue.
Thank you for the excellent description, I have informed the MAUI team. Since this is mostly expected behavior and not a bug. Let me break my reply into two parts: Expected and Unexpected.
Expected Behavior
This is mostly expected behavior and not a bug. To directly answer your question => Yes, currently you need to have FooterText or the DataGrid will hide the footer cell.
That being said, I would not expect to see those white cells in the Price and DeliveryPrice columns because you do not have FooterText or an Aggregate set.
I have escalated this case to the team, someone will review and follow up with you within the Feedback Portal timeframe.
Technical Support
I notice that your entire support history with us, even normal technical support requests, has been through this feedback portal. Feedback Portal items can take up to 120 hours to triage and file.
For future technical requests, please consider the Technical Support ticket system instead of feedback. Technical Support is up to 4x faster for responses and is intended for that level of support, particularly for private code (in the situation where we confirm an issue in the Support Ticket case, the engineer will open a Bug Report on your behalf).
Alternatively, if you want to have a public discussion on a technical topic, the UI for MAUI forums the place to go. However, be aware that even though it's faster than Feedback Portal items, you do not get the same response time SLA that you get for Technical Support tickets.
To clarify, the issue happens when none of the columns with an aggregate are currently being displayed because the user scrolled horizontally away from them.
To demonstrate, in your SDK Sample project, in PropertyAggregateDescriptors.xaml, I removed the aggregates from all columns except for the first one. I resized the window a bit to demonstrate this issue a bit, and I get this before I start scrolling:
All good.
But then I scroll to the right enough that the Name column is no longer displayed, and I get this:
The footer is gone.
Is there a way to get the footer to stay even when you scroll away from any columns with an aggregate?
Or are we going to have to do something silly like set the FooterText of all columns to a space to get the footer area to stay visible?
ADMIN
Lance | Senior Manager Technical Support
Posted on:08 Dec 2022 17:23
Hi Mounika,
As I've explained in our other Feedback Portal item on DataGrid aggregates, I will need the code to replicate this problem as well.
Additionally, since this is specific to certain data/column types, can you please also include a clear description of what is disappearing. You can do this with a marked-up screenshot or text. This will help avoid further delays by clearly explain the problem to the development team.
As with the parallel issue: once I get your code, I can replicate and then escalate. I look forward to your reply.
Regards,
Lance | Manager Technical Support
Progress Telerik