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