This is a migrated thread and some comments may be shown as answers.

Dynamically Re-sizing Entire Grid View

1 Answer 82 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Chummy
Top achievements
Rank 1
Chummy asked on 12 Apr 2012, 09:59 AM
Hi, I have a wizard running as part of a custom add-in for Outlook 2010. In one of the wizard dialogs I have a Telerik GridView control. The wizard dialog window that contains the Grid is re-sizable and I would like to have the Telerik Grid dynamically resize as the user re-sizes the Wizard dialog.

Any suggestions on how to achieve this would be greatly appreciated.

Thanks
Gary

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 17 Apr 2012, 07:35 AM
Hi Chummy,

Thank you for writing.

I will suggest to use the AutoSizeColumnsMode property of RadGridView set to Fill. This way the columns will fill the grid and they will automatically resize together with the control.

More information regarding sizing the columns can be found here: http://www.telerik.com/help/winforms/gridview-columns-resizing-columns-programatically.html.

I hope that you find this information useful. Let us know if you have any other questions.
 
Kind regards,
Stefan
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Tags
GridView
Asked by
Chummy
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or