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

vertical scrollbar only

1 Answer 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Indranik
Top achievements
Rank 1
Indranik asked on 27 Nov 2008, 03:11 PM
How do i get only a vertical scrollbar in the a radgrid where paging is disabled?
The problem is when i set

ClientSettings-Scrolling-AllowScroll

="true"

 


i get both the scroll bars while i require only the vertical scrollbar and not the horizontal scrollbar

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 27 Nov 2008, 03:30 PM
Hi Indranik,

There are several different ways to achieve this:

1) Set a suitable width for the MasterTableView in pixels, e.g.

http://demos.telerik.com/aspnet/prometheus/Grid/Examples/Programming/WebMail/DefaultCS.aspx

2) Set TableLayout="Fixed" for the MasterTableView and do not set any width for it. This will make all columns have equal widths, but you can change them, if you want to. Here is an example:

http://demos.telerik.com/aspnet/prometheus/Grid/Examples/Programming/WebMailGrid/DefaultCS.aspx


Regards,
Dimo
the Telerik team

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