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

RadGrid Height Issue

1 Answer 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nani
Top achievements
Rank 1
Nani asked on 29 Nov 2011, 06:55 PM
Hi Telerik Team,

I have a radgrid for which i am setting its height in aspx page everything works fine. But if the number of items in the Grid decreases it leaves whitespace which looks ugly.

Can anyone tell me the approch how to remove that whitespace...

when i remove scrolling and static headers its working fine..But i need them because in some cases i have 600 records..

Thanku Plz do reply its urgent...Its all over my project....

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 30 Nov 2011, 06:03 AM
Hello,

You can try the following approaches instead of setting Height in ASPX.
1) CSS:
<style type="text/css">
 .RadGrid_Default
  {
    height:auto !important;
  }
</style>

2) Set TableLayout property of MasterTableView as Auto.

Thanks,
Princy.
Tags
Grid
Asked by
Nani
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or