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

When DataGrid is inside a ScrollView data doesn't show up on Android #112

Open
gvescu opened this issue Jul 15, 2023 · 4 comments
Open

When DataGrid is inside a ScrollView data doesn't show up on Android #112

gvescu opened this issue Jul 15, 2023 · 4 comments

Comments

@gvescu
Copy link

gvescu commented Jul 15, 2023

Hi! This might be a duplicate of issue #93 but it just happened to me. The Windows version is showing the datagrid fine, but nothing is displayed on the Android version.

My datagrid is inside a ScrollView with orientation horizontal because I have many rows.

Just in case, here are my workloads:

maui                                   7.0.92/7.0.100              SDK 7.0.300
maui-windows                           7.0.92/7.0.100              VS 17.6.33829.357
maui-maccatalyst                       7.0.92/7.0.100              VS 17.6.33829.357
maccatalyst                            16.4.7089/7.0.100           VS 17.6.33829.357
maui-ios                               7.0.92/7.0.100              VS 17.6.33829.357
ios                                    16.4.7089/7.0.100           VS 17.6.33829.357
maui-android                           7.0.92/7.0.100              VS 17.6.33829.357
android                                33.0.68/7.0.100             VS 17.6.33829.357

I tested it on my device with Android 13 and API target 33. Also tested it with both 2.0.0 and with main branch.

@Engisan
Copy link

Engisan commented Jul 21, 2023

Facing the exact same issue. I have a lot of columns and I expected the package to handle that automatically. Now, because it does not do it I wrapped it with horizontal ScrollView and the data is gone.
Edit: it works once the HeightRequest of the ScrollView is set.

@symbiogenesis
Copy link
Collaborator

I recommend forking this project and setting up the Sample app to run inside of a ScrollView, and then filing a bug report with MAUI and linking to your forked repo. Be sure to document the exact versions of MAUI and Android.

@kyalsinsoewin
Copy link

Facing the exact same issue. I have a lot of columns and I expected the package to handle that automatically. Now, because it does not do it I wrapped it with horizontal ScrollView and the data is gone. Edit: it works once the HeightRequest of the ScrollView is set.

Even though I wrapped as you mentioned, it does not work.

@jasmineesteban
Copy link

Facing the exact same issue. I have a lot of columns and I expected the package to handle that automatically. Now, because it does not do it I wrapped it with horizontal ScrollView and the data is gone. Edit: it works once the HeightRequest of the ScrollView is set.

I also tried setting the Height Request but it still doesnt work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants