RadGridView - change height grouppanel

1 Answer 201 Views
GridView
Daniel
Top achievements
Rank 2
Iron
Iron
Daniel asked on 11 Jan 2023, 03:41 PM

Hi,

I've been searching now for hours for something that should be simple so I ask it here.

The radGridView got a area where columnheaders can be dropped. The panel has the default text: Drag a column here to group .... See also the attached image.

I want to change the height of that area but can't figure out how. Help would be appreciated.

Regards,

Daniel

1 Answer, 1 is accepted

Sort by
0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 12 Jan 2023, 03:51 PM

Hi Daniel,

Thank you for contacting us.

You could access the panel from the GroupPanelElement property of the "this.radGridView1.GridViewElement". To increase its height you can set the MinSize property. Check the following code snippet.

public Form1()
{
    InitializeComponent();
    this.radGridView1.GridViewElement.GroupPanelElement.MinSize = new System.Drawing.Size(0,80);
}

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
GridView
Asked by
Daniel
Top achievements
Rank 2
Iron
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or