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

Zoom Scale

Dear admin,

is there a possibility to zoom the gridview in and out like in Excel?

Thanks in advance.

3 Replies

JP Jagadeesan Pichaimuthu Syncfusion Team January 14, 2019 09:57 AM UTC

Hi Sascha, 
 
Thanks for using Syncfusion product. 
 
Currently we do not have an option to zooming the SfDataGrid. We have already logged this requirement as a feature request in our database. “We don’t have any immediate plans to implement this feature.   At the planning stage for every release cycle, we review all open features.  We will let you know when this feature is implemented.” 
 
 This feature can be tracked through our Features Management System.    
 
But you can able to zoom the datagrid by apply the ScaleTransform to datagrid. Please refer the below code snippets. 
private void Sfdatagrid_Loaded(object sender, RoutedEventArgs e) 
{ 
            ScaleTransform transform = new ScaleTransform 
            { 
                ScaleX = 3, 
                ScaleY = 3 
            }; 
            this.sfdatagrid.LayoutTransform = transform; 
} 
 
Please find the sample from the below location. 
 
 
And you can change row height of records using SfDataGrid.RowHeight and height of HeaderRow using SfDataGrid.HeaderRowHeight.  
  
<syncfusion:SfDataGrid x:Name="sfdatagrid   
                       RowHeight="30"    
                       HeaderRowHeight="35"   
                       ItemsSource="{Binding OrderInfoCollection}" >   
  
Also, please refer the below UG links for more details    
UG Links:  
  
Please let us know if you would require further assistance. 
 
Regards, 
Jagadeesan


SB Sascha Bauer January 14, 2019 01:27 PM UTC

Thanks for your answer.

I'm looking forward for this update with the zooming support. 


JN Jayaleshwari N Syncfusion Team January 16, 2019 12:18 PM UTC

Hi Sascha, 
 
Thanks for the update. We will let you know once the feature is implemented. Please get in touch if you would require further assistance. 
 
Regards, 
Jayaleshwari N. 


Loader.
Up arrow icon