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

Height cannot be set in grid

2 Answers 28 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Giri
Top achievements
Rank 1
Giri asked on 30 Oct 2008, 06:52 AM
Hi,
              I am using radgrid in my project with the number of template columns in the grid.This grid is placed within the div and within the table i didnt give any height to this grid,div and also the table.So the problem arise here is i got the scroll in my page due to the grid.So i need to reduce the height of the grid.Then i give the height for the grid .But the grid still in the same height and it cant reduce their  height.It is in the same position.
           I dont know where is the problem is?

Give me the solution...

Thanks,
Giri

2 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 30 Oct 2008, 07:54 AM
Hi Giri,

Apart from setting Height to RadGrid, you need to enable paging or scrolling or both. Otherwise the RadGrid <div> wrapper obeys the height, but the <table> inside expands vertically and overflows.

All the best,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Giri
Top achievements
Rank 1
answered on 30 Oct 2008, 10:48 AM
Hi,
         I am setting scroll for the grid and then give the height to that scroll bar .So now the grid wll resize for me.
           Thank u for u r sugeestion.
Tags
Grid
Asked by
Giri
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Giri
Top achievements
Rank 1
Share this question
or