Rudá Cunha
Top achievements
Rank 2
Rudá Cunha
asked on 20 Jun 2011, 03:01 PM
My grid is set
AutoSizeRows = true;
I just want my rows are a minimum:
This works perfectly but does not work for the group.
So I put:
That is the property MinHeight Group does not work as it should (equal to
the RowInfo.MinHeight).
How can I solve this?
AutoSizeRows = true;
I just want my rows are a minimum:
private
void
GridView_CreateRow (Object sender,
Telerik.WinControls.UI.GridViewCreateRowEventArgs e)
{
e.RowInfo.MinHeight = TableElement.RowHeight;
}
This works perfectly but does not work for the group.
So I put:
private
void
GridView_CreateRow (Object sender,
Telerik.WinControls.UI.GridViewCreateRowEventArgs e)
{
e.RowInfo.MinHeight = TableElement.RowHeight;
if
(e.RowInfo.Group =
null
)
e.RowInfo.Group.GroupRow.MinHeight =
TableElement.RowHeight;
}
That is the property MinHeight Group does not work as it should (equal to
the RowInfo.MinHeight).
How can I solve this?
5 Answers, 1 is accepted
0
Accepted
Hello Rudá,
Thank you for reporting this issue in the RadGridView control. I confirm that the MinHeight property of group rows is not considered when the control is in AutoSizeRows mode. I have added the issue to our PITS. We will address it in a future release. Your Telerik points have been updated.
You can define the height of group rows using the GroupHeaderHeight property of GridTableElement when RadGridView is not in AutoSizeRows mode.
Best regards,
Alexander
the Telerik team
Thank you for reporting this issue in the RadGridView control. I confirm that the MinHeight property of group rows is not considered when the control is in AutoSizeRows mode. I have added the issue to our PITS. We will address it in a future release. Your Telerik points have been updated.
You can define the height of group rows using the GroupHeaderHeight property of GridTableElement when RadGridView is not in AutoSizeRows mode.
Best regards,
Alexander
the Telerik team
0
y2kdis
Top achievements
Rank 1
answered on 13 Feb 2015, 07:11 PM
Has this been resolved in the current build?
0
Hello,
Yes, this item is resolved back in Q2 2011 SP1. Here is the link to the item at hand in our feedback portal: http://feedback.telerik.com/Project/154/Feedback/Details/111566.
I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.
Regards,
Stefan
Telerik
Yes, this item is resolved back in Q2 2011 SP1. Here is the link to the item at hand in our feedback portal: http://feedback.telerik.com/Project/154/Feedback/Details/111566.
I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.
Regards,
Stefan
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
y2kdis
Top achievements
Rank 1
answered on 17 Feb 2015, 11:55 PM
Hi Stefan,
We have the 2013 Q3 version and we're still seeing this unwanted behavior. Any clue?
Thanks!
We have the 2013 Q3 version and we're still seeing this unwanted behavior. Any clue?
Thanks!
0
Hi,
Can you please provide code snippets which we can use to replicate the undesired behavior? Or, of it would be more convenient for you, you can open support ticket and send us a sample project.
I am looking forward to your reply.
Regards,
Stefan
Telerik
Can you please provide code snippets which we can use to replicate the undesired behavior? Or, of it would be more convenient for you, you can open support ticket and send us a sample project.
I am looking forward to your reply.
Regards,
Stefan
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.