Bestfit all columns

5 posts, 0 answers
  1. manuele
    manuele avatar
    22 posts
    Member since:
    Oct 2010

    Posted 26 Mar 2015 Link to this post

    Hi,
       i would like to Auto BestFit all columns after data loading, is it possible?

    Thank you 


    Manuele
  2. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 31 Mar 2015 Link to this post

    Hello Manuele,

    Thank you for writing.

    This is possible and you can use the BestFitColumns method to achieve it:
    radPivotGrid1.PivotGridElement.BestFitHelper.BestFitColumns();

    In addition there is a Best Fit option in the default context menu.

    Please let me know if there is something else I can help you with. 
     
    Regards,
    Dimitar
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for WinForms is Visual Studio 2017 Ready
  4. manuele
    manuele avatar
    22 posts
    Member since:
    Oct 2010

    Posted 31 Mar 2015 in reply to Dimitar Link to this post

    Hi, thank you for the answer.
    I have a last question, is it possible to do the same thing with the group Element?
    There is a bestfit method for groupelement?

    Regards

    Manuele
  5. manuele
    manuele avatar
    22 posts
    Member since:
    Oct 2010

    Posted 31 Mar 2015 in reply to manuele Link to this post

    I have found it:     

    RadPivotGrid1.PivotGridElement.BestFitHelper.BestFitRowHeaders()


    Thank you so much

    Manuele
  6. Dimitar
    Admin
    Dimitar avatar
    1415 posts

    Posted 31 Mar 2015 Link to this post

    Hello Manuelle,

    This is indeed the correct way to best fit the row headers. Do not hesitate to contact us if you have other questions.
     
    Regards,
    Dimitar
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top
UI for WinForms is Visual Studio 2017 Ready