Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grouping in Grid HorizontalListView #61

Open
MAST1999 opened this issue Mar 1, 2022 · 2 comments
Open

Grouping in Grid HorizontalListView #61

MAST1999 opened this issue Mar 1, 2022 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@MAST1999
Copy link

MAST1999 commented Mar 1, 2022

Is your feature request related to a problem? Please describe.
I'm trying to use this CollectionView to get a grid with headers and the headers have to fill a whole row and the items in the group can have 4 or more columns.

Describe the solution you'd like
It would be nice to have a SizedDataTemplate with a FullWidth property that will take the whole row. Maybe the headers will have separate SizedDataTemplate so people can have different kinds as well but I think that's overkill. I'm willing to try and help to implement it as well but I'm pretty new to Xamarin and C# so if you could give me a few tips I can try.

Describe alternatives you've considered
I tried to change the code in vertical to allow hidden cells and added one header with custom width and it was a mess TBH And it would always end up dropping frames when we reached a Header.

Additional context
I managed to make it look like this but the performance was awful 😁.
image

@roubachof roubachof added enhancement New feature or request help wanted Extra attention is needed labels Mar 10, 2022
@unamed000
Copy link

I think this feature is very useful since this is a very common behavior, I'm implementing a photo gallery exactly like this one but there is no way to achieve this at the moment by using this wonderful control.

@mjsb212
Copy link

mjsb212 commented Oct 27, 2023

Yes! I also wish this was possible to group things into columns with headers that span all the columns -- but im thinking because of virtualization and recycleview there will be performance problems as stated above. Anyone know if this is even possible? The MAUI current collectionview in .net 8 supports this, but I ran into performance problems with larger lists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants