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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Is it possible to interactively freeze columns?

Thread ID:





121408 Dec 10,2015 07:03 PM UTC Dec 12,2015 12:34 AM UTC WPF 1
Tags: SfDataGrid
sabrina c.
Asked On December 10, 2015 07:03 PM UTC

I've taken a look at the SfDatagrid sample called Freeze Panes which shows the possibility to "Pin" columns and rows to let them remain into view.

However I come from a different set of components where both in WInForms and WPF on the grid besides the Filtering it is possible to activate the Column Pinning where clicking a Pin button on the column header the Column is moved in the Freezed zone and remains visible, then I can add more pinned columns or I can "unpin" them clicking again on the pin button.

This is a nice feature when the grid has many columns to allow to see different views of the columns when necessary.

Is there something to develop this kind of feature or has it to be build from scratch using code and the 4 freeze zones?

Another question on this matter: When the grid is a Master+Detail is it possible to freeze the Expansion indicator so that it don't disappears when scrolling horizontally?

Thank you in advance

Sowndaiyan Paulpandi [Syncfusion]
Replied On December 12, 2015 12:34 AM UTC

Hi Sabrina,

Thank you for contacting Syncfusion Support.

We have analyzed your queries and please find the responses for your queries below,
Query 1: [ Make the Frozen Column by Click the option on column Header ]

We regret to inform you that it is not possible to Freeze the particular inbetween Column in SfDataGrid. You can Freeze the left most/right most column in SfDataGrid and we have prepared a sample based upon your requirement “Freeze/Unfreeze the Column when select the Pin/Unpin options in Column Header” for left or right most columns and you can download the sample from the below location.
Sample : http://www.syncfusion.com/downloads/support/forum/121408/ze/ContextMenu_FreezeColumn-2020739129
Query 2: [ Freeze the DetailsViewGrid Expander Indicator Column ]

In SfDataGrid we do not have the direct support for Freeze the DetailsViewGrid Expander Indicator Column. However we have prepared a work around sample for achieve your requirement and you can download the same from the below location. In this sample we have set the FrozenColumnCount to the SfDataGrid Visual Container.

Sample : http://www.syncfusion.com/downloads/support/forum/121408/ze/MasterDetailsView_WPF-437432240




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon