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

Scolling Feature of Radgrid

3 Answers 18 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jeff Tang
Top achievements
Rank 1
Jeff Tang asked on 04 Nov 2008, 04:40 AM
I have set the paging to off so that all record will show in one page. And I want to fixed the height of the grid, so I wano know if the grid provide a scollling feature to cope with this situation? If so, how to user it?  Thanks.

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 04 Nov 2008, 04:49 AM
Hi Jeff,

You can set the ScrollHeight property for the Grid. The ScrollHeight property specifies the height value beyond which the scrolling will be turned on. The default value is 300px.

<ClientSettings>  
   <Scrolling AllowScroll="True" ScrollHeight="500px" UseStaticHeaders="True" SaveScrollPosition="True"></Scrolling>  
</ClientSettings>  
 

Basic scrolling

Thanks
Shinu.
0
Jeff Tang
Top achievements
Rank 1
answered on 05 Nov 2008, 02:16 AM
I have enable the scolling function of the grid. But it seems that both X and Y scolling is appears, can I just enable the scolling on Y?
0
Shinu
Top achievements
Rank 2
answered on 05 Nov 2008, 03:17 AM
Hi Jeff,

To restrict the horizontal bar from being rendered, verify that:

    * the width for the MasterTableView is set to 99% if auto-generated columns are used.
    * the total width of the declaratively set columns is smaller than the width of the grid itself.


Thanks
Shinu.
Tags
Grid
Asked by
Jeff Tang
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Jeff Tang
Top achievements
Rank 1
Share this question
or