Thank you for writing.
RadGridView has a AutoSizeColumnsMode property, which has two options - Fill
, which will take the grid's width and divide it by the number of the columns and the will set each column the same size, hence no scroll bars will be show. The other option is None
(the default one) and when this is set, if the total columns width exceeds the grid's width, scroll bar is automatically shown.
Another interesting method for column sizing is the BestFit
method of a column or the BestFitColumns
method of the grid, which will size all columns on a way to fit their content.
More information about these features is available on the following link: http://www.telerik.com/help/winforms/gridview-columns-resizing-columns-programatically.html
Let me know how this works for you.
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.