Maximum row height with AutoSize

8 posts, 1 answers
  1. Francois
    Francois avatar
    52 posts
    Member since:
    Dec 2010

    Posted 16 Apr 2013 Link to this post

    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
  2. Answer
    Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 18 Apr 2013 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Andreas Haeusler
    Andreas Haeusler avatar
    25 posts
    Member since:
    Nov 2009

    Posted 06 Feb 2014 in reply to Stefan Link to this post

    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
  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 07 Feb 2014 Link to this post

    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).

  6. Andreas Haeusler
    Andreas Haeusler avatar
    25 posts
    Member since:
    Nov 2009

    Posted 07 Feb 2014 in reply to Stefan Link to this post

    Hi Stefan,


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


    Thanks a lot,
    Andreas
  7. Martin Hamilton
    Martin Hamilton avatar
    18 posts
    Member since:
    Aug 2009

    Posted 05 Mar 2014 in reply to Stefan Link to this post

    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...
  8. Martin Hamilton
    Martin Hamilton avatar
    18 posts
    Member since:
    Aug 2009

    Posted 05 Mar 2014 in reply to Martin Hamilton Link to this post

    What a coincidence.  By the time I  posted my previous question, the link was updated.
  9. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 06 Mar 2014 Link to this post

    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!

Back to Top
UI for WinForms is Visual Studio 2017 Ready