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

Radgrid rowheight

1 Answer 473 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Karlheinz
Top achievements
Rank 1
Karlheinz asked on 14 Apr 2015, 07:04 PM

i am trying to set the rowheight of RadGrid to eg. 20 px.

RadGrid provides a property: mastertableview.itemstyle.height

but this doesnt work :-)

Is there any possibility to set RadGrids rowheight to fixed heigth???

 

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Alexander
Top achievements
Rank 1
answered on 14 Apr 2015, 10:28 PM
On the aspx side, you could try adding
ItemStyle-Height="100" AlternatingItemStyle-Height="100"

to your Radgrid header declaration. 

I was however able to get the height of my rows to change via the below method (VB). Perhaps your code logic was never being hit as well?

myRadgrid.MasterTableView.ItemStyle.Height = 100

myRadgrid.MasterTableView.AlternatingItemStyle.Height = 100

Tags
Grid
Asked by
Karlheinz
Top achievements
Rank 1
Answers by
Alexander
Top achievements
Rank 1
Share this question
or