Remove vertical scroll bar

1 Answer 29 Views
Grid
Darrin
Top achievements
Rank 1
Iron
Darrin asked on 13 Dec 2021, 05:09 PM

I'm trying to remove the vertical scroll bar from a radgrid.  I'm not enabling paging and don't want to show the vertical scrolling. I only need the horizontal function.    Any help would be appreciated.   

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Doncho
Telerik team
answered on 16 Dec 2021, 11:47 AM

Hi Darrin,

If you already have enabled Scrolling for RadGrid. It should be enough if you declare big enough ScrollHeight so that all Grid entries fit in the height, see Scrolling demo.

An alternative approach you can try is to use custom CSS to force auto height of the Table element holding the Grid rows:

.RadGrid .rgDataDiv{
     height: auto !important;
}
You may also find it useful to check out the following discussions on similar topics:

I hope this will help you achieve the desired behavior.

Please let me know if any further questions come up.

Kind regards,
Doncho
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid
Asked by
Darrin
Top achievements
Rank 1
Iron
Answers by
Doncho
Telerik team
Share this question
or