Greetings
In a Xamarin.Android project, it would be desirable to use SfDataGrid in conjunction with SfChart in which both components are contained in a ScrollView control. This is done in order to allow the user to either have the chart or grid occupy the most space on the screen. Here is the XML for such a setup:
<ScrollView
android:minWidth="25px"
android:minHeight="25px"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fillViewport="true">
<LinearLayout
android:layout_height="match_parent"
android:layout_width="match_parent"
android:orientation="vertical">
<FrameLayout
android:layout_width="match_parent"
android:layout_height="300dp"
android:id="@+id/middleFrameLayout"/>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/bottomFrameLayout"/>
</LinearLayout>
</ScrollView>
</LinearLayout>
Each FrameLayout will host a Fragment that will either contain the grid or the chart. It appears that sfDataGrid is intercepting the scroll gestures and in turn does not allow the ScrollView to perform its operation. I have set sfDataGrid's 'NestedScrollingEnabled' to true but it does not have any effect.
Please advise.
Thanks in advance.