We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Horizontal scroll issue after filter applied

When I applied the filter in the last column of Datagrid, the horizontal scroll set back to the first column position. How I can fix this issue? Please give me a proper solution.

If you could not understand my issue, here is the related same issue on JavaScript. https://www.syncfusion.com/forums/151010/persist-horizontal-scroll-position-after-filtering

3 Replies

DM Dhanasekar Mohanraj Syncfusion Team October 26, 2022 09:13 AM

Hi Venkata Rami Reddy,

We have checked the reported issue with the provided details on our end. You can maintain the scrollbar position by enabling the CanMaintainScrollPosition shown below,





    ItemsSource="{Binding GridDataSource}" />

For more information related to CanMaintainScrollPosition, please refer to the below user guide documentation link,

UG Link: https://help.syncfusion.com/wpf/datagrid/data-binding#maintain-scroll-position-when-changing-the-itemssource-for-sfdatagrid

Please have a look at this and revert us if you need further assistance with this.


Dhanasekar M.

If this post is helpful, please consider Accepting it as the solution so that other members can locate it more quickly.

VR Venkata Rami Reddy October 26, 2022 11:43 AM

Thank you, Dhanasekar M. Its working.

DM Dhanasekar Mohanraj Syncfusion Team October 27, 2022 09:00 AM

Hi Venkata Rami Reddy,

If you are satisfied with our response, please mark it as an answer. Otherwise, please let us know if you have any further queries on this. We are happy to help you.


Dhanasekar M.

Live Chat Icon For mobile
Up arrow icon