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

[Solved] Grid Width/Height in runtime

1 Answer 129 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pan hal
Top achievements
Rank 1
Pan hal asked on 09 Dec 2009, 07:30 PM
In my code I use RadGridView in RadWindow. It has only 4 columns. The width of the columns is set to auto and Grid width/height is fixed.
My question is when the Radwindow size is  maximised   the RadGridview should be increased and avoid scrollbars.
Is there a way to set the required width and height of the grid in runtime?



1 Answer, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 15 Dec 2009, 09:37 AM
Hello Pan hal,

You can use RadWindow.SizeChanged event and change RadGridView's width and height appropriately.


Regards,
Nedyalko Nikolov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Pan hal
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Share this question
or