MaxWidth and MinWidth for the GridView

2 posts, 0 answers
  1. Kim
    Kim avatar
    1 posts
    Member since:
    Sep 2014

    Posted 02 Sep 2014 Link to this post

    How I am going to implement this maxwidth or minwidth to my gridview  with different data in column and this gridview should fit all screens without scrollbars.. Thanks. Hope you can help me. I'm stuck in here..

  2. Boris
    Boris avatar
    276 posts

    Posted 05 Sep 2014 Link to this post

    Hello Kim,

    I am not entirely sure why you need to set the MinWidth / MaxWidth properties of the GridView to regulate the different data in the columns. 

    A possible approach for setting all the columns to the same width is to set the ColumnWidth property of the GridView to "*"
    Please keep in mind that a horizontal ScrollBar will appear when the viewable area is too small to display all the columns.  

    However, if this is not what you have in mind, could you please provide us with more details about your case, perhaps some pictures of how your project looks at the moment and how you envision it to look?  

    I hope this helps.

    Boris Penev
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top