Hi Maria,
Thank you for using Syncfusion products.
We have checked the reported query “Hide Empty Group” from our side. We would like to inform you that you can customize the RowHeight by using SfDataGrid.QueryRowHeight event.
Please refer to our user guidance document regarding the same,
Please refer to the following code snippets to achieve your requirement,
private void dataGrid_QueryRowHeight(object sender, QueryRowHeightEventArgs e)
{
var item = dataGrid.GetRecordAtRowIndex(e.RowIndex) as OrderInfo;
var isGrouped = dataGrid.GroupColumnDescriptions.Count > 0;
if (item != null && isGrouped && string.IsNullOrEmpty(item.FirstName))
{
e.Height = 0;
e.Handled = true;
}
} |
We have prepared a sample based on your requirement and attached in the following link,
Output
Please let us know if you need further assistance.
Regards,
Lakshmi Natarajan