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

Maximum row height with AutoSize

7 Answers 216 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Francois
Top achievements
Rank 1
Francois asked on 16 Apr 2013, 01:39 PM
Hi, 

I'm trying to set the maximum height of a row, but it doesn't work... I've enabled the AutoSizeRows property.

private void Grid_RowFormatting(object sender, RowFormattingEventArgs e)
{
     // Current ->  e.RowElement.RowInfo = 64
    e.RowElement.RowInfo.MaxHeight = 32;
}

Thanks,

--
François

7 Answers, 1 is accepted

Sort by
0
Accepted
Stefan
Telerik team
answered on 18 Apr 2013, 04:46 PM
Hi François,

Thank you for writing.

Currently, there is an issue preventing you from setting the MaxHeight of rows in RadGridView, when the AutoSizeRows functionality is used. This case is logged in PITS and you can vote for it here: http://www.telerik.com/support/pits.aspx#/public/winforms/14591.

To work around it, you need to use the custom data row provided in the PITS item.

I hope that you find this information useful.
 

Regards,
Stefan
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
0
Andreas Haeusler
Top achievements
Rank 2
answered on 06 Feb 2014, 03:56 PM
Hello,

has this issue been resolved in the current releases? I'm experiencing the same issue (limiting the RowHeightwhen using AutoSizeRows  doesn't work).

BTW: The link to the PITS - entry doesnt work anymore.


Thanks,

Andreas
0
Stefan
Telerik team
answered on 07 Feb 2014, 09:00 AM
Hi Andreas,

Such a functionality was not yet introduced. The PITS system was replaced by a feedback portal. Here is the item migrated from PITS: http://feedback.telerik.com/Project/154/Feedback/Details/110133-fix-the-rows-maxheight-property-does-not-affect-the-row-sizing-when-the-autosiz. You can add your vote for it and subscribe for notifications. There is also a temporary solution provided which you can check out.

Regards,
Stefan
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

0
Andreas Haeusler
Top achievements
Rank 2
answered on 07 Feb 2014, 10:56 AM
Hi Stefan,


thank you for the updated link. The fix works and everyone is happy.


Thanks a lot,
Andreas
0
Martin Hamilton
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 06 Mar 2014, 01:51 AM
How does one vote for this?  When clicked on the link takes me to a Telerik Support page - but not to a vote for page? 

I am logged in - so I don't suppose it has anything to do with that?

How to vote or is the link wrong - or am I doing something wrong?

I tried to vote on other things previously with the same result but now; I need to know what's up with that...
0
Martin Hamilton
Top achievements
Rank 1
Iron
Iron
Veteran
answered on 06 Mar 2014, 01:52 AM
What a coincidence.  By the time I  posted my previous question, the link was updated.
0
Stefan
Telerik team
answered on 06 Mar 2014, 06:50 AM
Hello Martin,

So, now everything is OK with the voting and it was a temporary issue?

Regards,
Stefan
Telerik

DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

Tags
GridView
Asked by
Francois
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Andreas Haeusler
Top achievements
Rank 2
Martin Hamilton
Top achievements
Rank 1
Iron
Iron
Veteran
Share this question
or