Hi Jeremy,
We have defined the minimum allowed value of group panel’s height as 48 is only for considering the appearance group panel items. You can also provide the value lesser than 48 for group panel’s height. To achieve this, you have to change the “MinimumSize” of group panel with your own values. Kindly refer to the attached sample from the below location.
Refer to the following code example.
/// <summary>
/// Grid Settings for better Look and Feel.
/// </summary>
private void GridSettings()
{
sfDataGrid.GroupPanel.MinimumSize = new System.Drawing.Size(0, 20);
sfDataGrid.GroupPanel.Height = 20;
sfDataGrid.GroupColumnDescriptions.Add(new GroupColumnDescription() { ColumnName = "ProductName" });
sfDataGrid.GroupColumnDescriptions.Add(new GroupColumnDescription() { ColumnName = "ShipCountry" });
sfDataGrid.GroupColumnDescriptions.Add(new GroupColumnDescription() { ColumnName = "CustomerID" });
sfDataGrid.ExpandAllGroup();
} |
Regards,
Sabaridass R