When DataGrid is inside a ScrollView data doesn't show up on Android
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.
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 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.
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 <ScrollView Orientation="Both" HeightRequest="750"> as you mentioned, it does not work.
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