Freeze Pane (FrozenColumnCount) Scroll Issue

Below you can see the datagrid control that I have setup, I have removed sensitive info.

The problem I am facing is that once the FrozenColumnCount is set, the datagrid looses the ability to scroll horizontally using the touchpad, the scrollbar still works to scroll to the right, but it doesn't work with the touchpad on my windows laptop, if I take away the FrozenColumnCount then it scrolls perfectly fine.


<datagrid:SfDataGrid Grid.Row="1" SortingMode="Single" AllowTriStateSorting="True" x:Name="ExceptionDisplayView" ItemsSource="{Binding ExceptionDisplay, Mode=TwoWay}" FrozenColumnCount="2" HorizontalScrollBarVisibility="Always" HorizontalOptions="Fill" IsVisible="{Binding IsReady}" CellDoubleTapped="ExceptionDisplayView_CellDoubleTapped">

    <datagrid:SfDataGrid.Columns>

        <datagrid:DataGridTemplateColumn HeaderText="Document" ColumnWidthMode="FitByCell">

            <datagrid:DataGridTemplateColumn.CellTemplate>

                <DataTemplate>

                    <buttons:SfButton Text="Manage" x:Name="docManageBtn" WidthRequest="80" Margin="2" Clicked="docManageBtn_Clicked" CornerRadius="3"/>

                </DataTemplate>

            </datagrid:DataGridTemplateColumn.CellTemplate>

        </datagrid:DataGridTemplateColumn>

        <datagrid:DataGridTemplateColumn HeaderText="Audit Note" ColumnWidthMode="FitByCell" MappingName="auditNote" AllowEditing="True">

            <datagrid:DataGridTemplateColumn.CellTemplate>

                <DataTemplate>

                    <Picker WidthRequest="180" FontSize="10">

                        <Picker.Items>

                            <x:String>items...</x:String>

                        </Picker.Items>

                        <Picker.SelectedItem>

                            <x:String>Select a Note</x:String>

                        </Picker.SelectedItem>

                    </Picker>

                </DataTemplate>

            </datagrid:DataGridTemplateColumn.CellTemplate>

        </datagrid:DataGridTemplateColumn>

        <datagrid:DataGridNumericColumn />

        <datagrid:DataGridNumericColumn />

        <datagrid:DataGridTextColumn />

        <datagrid:DataGridTextColumn />

    </datagrid:SfDataGrid.Columns>

</datagrid:SfDataGrid>


2 Replies

NY Nirmalkumar Yuvaraj Syncfusion Team June 3, 2024 09:02 AM UTC

Hi Talon,


We have checked your query at our end, and we are able to replicate that issue at our end. We have considered this as a bug and logged a bug report regarding this in our feedback portal. We will fix the reported issue and include the changes in our upcoming weekly patch release, which is expected to be rolled out on June 25, 2024. We will let you know once released, and we appreciate your patience until then. You can also track the status of the bug using the feedback link below. 


Feedback Link: 58340


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,

Nirmalkumar.



SD Sethupathy Devarajan Syncfusion Team June 25, 2024 01:56 PM UTC

Hi Talon,


We are glad to inform you that the reported issue regarding the “Frozen columns disables Horizontal scrolling when using touchpad” has been resolved. This fix has been incorporated into our latest weekly NuGet release. To benefit from this fix, we recommend updating your DataGrid package to version 26.1.39.


https://www.nuget.org/packages/Syncfusion.Maui.DataGrid


Root Cause:

When the frozen pane column or row is set, we implemented vertical scrolling only for both vertical and horizontal scrolling, causing the horizontal scrolling to be disabled.


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,

Sethupathy D.


Loader.
Up arrow icon