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

How to set no of row to visualize

2 Answers 63 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jesper
Top achievements
Rank 1
Jesper asked on 28 Sep 2011, 11:36 AM
Hi,
how to set no of rows to visualize in a radgrid? I don't want to use paging where it's possible to set no of rows to visualize I just want to set rows to visualize in a scrollable radgrid. I have tried to set height to x but that's not a good solution since frame around radgrid disappears in the bottom of the radgrid (around horizontal scrollbar).

Rgds,
Jesper

2 Answers, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 28 Sep 2011, 11:41 AM
Hi Jesper,

You can try altering the grid ScrollHeight property so a certain number of rows are displayed in the visible scroll area for the grid. However you should make sure that the text is in the grid cells is not wrapped.
Other than this, you can use some javascript to calculate and dynamically set the height for the scroll area.

Kind regards,
Iana Tsolova
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Jesper
Top achievements
Rank 1
answered on 28 Sep 2011, 11:57 AM
Hi Iana,
thx, your hint gave me solution I want.

Many thx!

Rgds,
Jesper
Tags
Grid
Asked by
Jesper
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Jesper
Top achievements
Rank 1
Share this question
or