Column Frozen

Hello Syncfusion,

Is there an other way to freez column than doing this : FrozenColumnCount="2" in xaml ?

Thanks.

Alex.

1 Reply

MK Muthukumar Kalyanasundaram Syncfusion Team February 2, 2018 09:09 AM UTC

Hi Alex, 

Thank you for contacting Syncfusion support. 

You can freeze the columns in view at the left and right side like in excel by setting SfDataGrid.FrozenColumnCount and SfDataGrid.FooterColumnCount properties. Please refer the below code for setting FrozenColumnCount in SfDataGrid. 
 
Code Snippet:  
XAML 
<syncfusion:SfDataGrid x:Name="dataGrid"                         
                        FrozenColumnCount="2” 
                        ItemsSource="{Binding UserDetails}"                                                               
                        ShowRowHeader="False"> 
 
C# 
this.dataGrid.FrozenColumnCount = 2;  
 
Please let us know if you have any other questions. 

Regards, 
Muthukumar K 


Loader.
Up arrow icon