SfDataGrid allows you to customize the row height of grid rows using the SfDataGrid.QueryRowHeight event. You can auto fit a row based on its content by using the SfDataGridHelpers.GetRowHeight method.
Note: Handled property of the QueryRowHeightEventArgs must be set to true in the QueryRowHeight event for the height changes to take effect.
Note: To skip the header row the condition (e.RowIndex > 0) is added.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|