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

Scrolling height problem in grid

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sudheer
Top achievements
Rank 2
sudheer asked on 02 Feb 2009, 04:15 PM
Hi

Could anybody give an example for scrolling height .
In my application i m using scrolling =true for radgrid  by default it's gives  350px .
i checked with telerik demos , said by default scrolling property allows 350px .but i don't want that height  because my radgrid height is so small like 200px.


Thanxs in advance .

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 02 Feb 2009, 05:10 PM
Hi Sudheer,

When using scrolling, you have to set some height. Scrolling without height does not make much sense in general.

RadGrid offers two properties for setting Height:

RadGrid.Height
RadGrid.ClientSettings.Scrolling.ScrollHeight

The first one determines the height of the whole RadGrid control, while the second one defines the height of the scrollable data area only. The two properties should not be used at the same time, otherwise ScrollHeight is ignored.

Let us know if you need more information.


All the best,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
sudheer
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Share this question
or