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..
1 Answer, 1 is accepted
answered on 05 Sep 2014, 12:59 PM
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.
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.