Scrolling issue with SfDataGrid inside ScrollView

Hello, I'm having issue with scrolling the SfDataGrid inside TabView and inside ScrollView. The scrolling action stops when the cursor touches the SfDataGrid. I've set the height for the SfDataGrid so that no scrolling is needed for the datagrid. I have to move the cursor out of the datagrid area to continue scrolling. Could you please help me with this? Thank you.


6 Replies

SV Suja Venkatesan Syncfusion Team August 4, 2022 02:26 PM UTC

Hi Josh,


We would like to let you know that we are unable to replicate the reported scenario on our end. We checked the reported scenario by loading SfDataGrid inside the ScrollView and it inside the SfTabView. SfDataGrid scrolling works fine in our end. We have attached a sample which we used to check the reported scenario for your reference. Please have a look at this sample and let us know if we missed any customization you have done in your application, if possible please revert to us with modified sample or SfDataGrid code snippets with illustration video or image. It will be more helpful for us to provide the timely solution. Could be please confirm in which platform(Xamarin.Forms.Android , Xamarin.Forms .iOS or Xamarin.Forms.UWP) you are facing the reported scenario?


Regards,

Suja


Attachment: GettingStarted_ccd4e3ae.zip


JP Josh Phan August 4, 2022 02:50 PM UTC

Hi Suja,


Thank you for your reply. The platform I'm currently having issue with is Xamarin.Forms.UWP. The scenario should be SfDataGrid is inside SfTabView and the SfTabView is inside ScrollView. For some reason, the example couldn't work when I changed to that layout.

<ScrollView>

        <tabView:SfTabView BackgroundColor="Aqua">

            <tabView:SfTabItem Title="Call">

                <tabView:SfTabItem.Content>

                    <sfgrid:SfDataGrid x:Name="sfGrid"

                       AllowSorting="True"

                       AutoGenerateColumns="False"

                       ItemsSource="{Binding OrdersInfo}">

                        <sfgrid:SfDataGrid.Columns>

                            <sfgrid:GridTextColumn MappingName="OrderID" />

                            <sfgrid:GridTextColumn MappingName="CustomerID" />

                            <sfgrid:GridTextColumn MappingName="ShipCountry" />

                            <sfgrid:GridTextColumn MappingName="Customer" />

                            <sfgrid:GridTextColumn MappingName="ShipCity" />

                            <sfgrid:GridTextColumn MappingName="CustomerID" />

                        </sfgrid:SfDataGrid.Columns>

                    </sfgrid:SfDataGrid>

                </tabView:SfTabItem.Content>

            </tabView:SfTabItem>

        </tabView:SfTabView>

    </ScrollView>


Thanks,

Josh



SV Suja Venkatesan Syncfusion Team August 7, 2022 07:09 PM UTC

Hi Josh,


We are able to replicate the reported scenario on our end. Currently, we are validating the reported scenario on our end. We will update you with further details on or before August 9,2022. We appreciate your patience until then.


Regards,

Suja



RA Rajesh A September 18, 2022 12:20 PM UTC

Hi Team,

   When it will be fix, I am also facing the same issue.



SV Suja Venkatesan Syncfusion Team September 22, 2022 02:12 PM UTC

Hi Josh,


We have logged a bug repot for the reported issue “ScrollView scrolling not working properly when loading SfDataGrid”. We will fix the issue and include the fix in our weekly nuget which is scheduled on October 11,2022. We will let you know once it is released with the fix. We appreciate your patience until then.

You can also track the status of the report from the below link.  

Feedbackhttps://www.syncfusion.com/feedback/37919/scrollview-scrolling-not-working-properly-when-loading-sfdatagrid


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.


Regards,

Suja




SV Suja Venkatesan Syncfusion Team October 6, 2022 02:28 PM UTC

Hi Josh,


We have fixed the reported issue ScrollView scrolling not working properly when loading SfDataGrid” and included the issue fix in our latest NuGet release update version 20.3.0.48 which is available for download (https://www.nuget.org/).   


We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you require any further assistance


Regards,

Suja


Loader.
Up arrow icon