Private
Sub RadGridView_SessionData_RowFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.RowFormattingEventArgs) Handles RadGridView_SessionData.RowFormatting
e.RowElement.RowInfo.Height = 200
End
Sub
This is not working i want to just set the row height for the grid! what am i doing wrong?
4 Answers, 1 is accepted
0
Hi Michael,
Thank you for contacting us.
Unless you have set the AutoSizeRows property to true this code should work. If this is not the case, please open a support ticket and send us your application. We will investigate the situation and will try to locate any potential issue.
There is also another way to change the row height. You can set the RowHeight property of the GridElement. Please check the sample below:
I hope this helps. If you need further assistance, I will be glad to help.
Greetings,
Jack
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Thank you for contacting us.
Unless you have set the AutoSizeRows property to true this code should work. If this is not the case, please open a support ticket and send us your application. We will investigate the situation and will try to locate any potential issue.
There is also another way to change the row height. You can set the RowHeight property of the GridElement. Please check the sample below:
RadGridView1.GridElement.RowHeight = 200 |
I hope this helps. If you need further assistance, I will be glad to help.
Greetings,
Jack
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Rich
Top achievements
Rank 1
answered on 01 Mar 2013, 10:10 PM
Can you set different heights for rows in a single grid?
0
Hello Rich,
Yes, you can specify different row heights. In order to do this, you should set the Height property for the row. Here is a sample:
Should you have other questions, do not hesitate to ask.
All the best,
Jack
the Telerik team
Yes, you can specify different row heights. In order to do this, you should set the Height property for the row. Here is a sample:
this
.radGridView1.ChildRows[3].Height = 50;
Should you have other questions, do not hesitate to ask.
All the best,
Jack
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more.
Join us for a FREE webinar to see all the new stuff in action.
Interested, but can’t attend? Register anyway and we’ll send you the recording.
Interested, but can’t attend? Register anyway and we’ll send you the recording.
0
Manish
Top achievements
Rank 1
answered on 12 Jun 2013, 02:39 AM
Hi,
You can use the RowHeight property of the RadGridView like-
<telerik:RadGridView AutoGenerateColumns="False" IsReadOnly="True" ItemsSource="{Binding TimeSlots}" RowIndicatorVisibility="Collapsed" RowHeight="18">
Hope this may help you.
You can use the RowHeight property of the RadGridView like-
<telerik:RadGridView AutoGenerateColumns="False" IsReadOnly="True" ItemsSource="{Binding TimeSlots}" RowIndicatorVisibility="Collapsed" RowHeight="18">
Hope this may help you.