This is a migrated thread and some comments may be shown as answers.

Nonstandard Row Height and Grouping Panel Drawing

2 Answers 59 Views
GridView
This is a migrated thread and some comments may be shown as answers.
erwin
Top achievements
Rank 1
Veteran
Iron
erwin asked on 12 Oct 2009, 04:28 PM

When I set the grid to smaller Row Size like that:

grid.GridElement.RowHeight = (int)Math.Floor(this.GridElement.RowHeight * 0.9); 
grid.GridElement.TableHeaderHeight = (int)Math.Floor(this.GridElement.TableHeaderHeight * 0.95); 

The dynamic sizing of the Grouping Panel does not seem to function correctly anymore. The grouped Headers are not drawn properly and the x mark is barely visible anymore.

What's the correct way to make data rows a little smaller, but retain the functionality of the grouping panel?
Regards

Erwin


2 Answers, 1 is accepted

Sort by
0
erwin
Top achievements
Rank 1
Veteran
Iron
answered on 14 Oct 2009, 02:30 PM
Update: The problem seems to be related with the order of initialization.

If I change the Column Height after setting ShowGroupPanel and EnableGrouping to true, it works as expected.
But if I change the Column Heighhbefore I set ShowGroupPanel, the grouping panel will not be drawn correctly.

Regards
Erwin
0
Jack
Telerik team
answered on 15 Oct 2009, 08:04 AM
Hi erwin,

I am glad to hear that you have found a solution for this issue. However, the drawing shouldn't depend on the initialization order. We will research the case further and the issue will be addressed in one of our upcoming releases. Don't hesitate to contact us if you have other questions.

All the best,
Jack
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
erwin
Top achievements
Rank 1
Veteran
Iron
Answers by
erwin
Top achievements
Rank 1
Veteran
Iron
Jack
Telerik team
Share this question
or