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

Grid with Custom Paging & Scroll Bar

2 Answers 189 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nathan
Top achievements
Rank 2
Nathan asked on 13 Dec 2011, 09:25 PM
Hello,

I have a grid that uses paging [AllowPaging="true" AllowCustomPaging="true"] so that I can load a page at a time from my database. I would like to also display a horizontal scroll bar around the grid, but the scroll bar is displaying on the outside of my paging bar. This means that my paging bar is inside of the scrolling section, unlike your example linked below.

How can I get the scroll bar around my grid like your example? I'm assuming I may need to do something a little different since I'm using custom paging.
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/frozencolumns/defaultcs.aspx

I dont need frozen columns, but only the ability to add the scroll bar with paging bar at the outside. 

Thanks!!

2 Answers, 1 is accepted

Sort by
0
Nathan
Top achievements
Rank 2
answered on 16 Dec 2011, 12:01 AM
Anyone have a suggestion? I just need the ability to have a horizontal scroll bar in my RadGrid, but the scroll must be above the paging bar. I dont want to have the paging bar inside the scrolling area.


Thanks!
0
Accepted
Shinu
Top achievements
Rank 2
answered on 16 Dec 2011, 05:28 AM
Hello Nathan,

Try the following CSS.
CSS:
<style type="text/css">
  .RadGrid_Default
 {
  overflow-x: scroll !important;
 }
</style>

-Shinu.
Tags
Grid
Asked by
Nathan
Top achievements
Rank 2
Answers by
Nathan
Top achievements
Rank 2
Shinu
Top achievements
Rank 2
Share this question
or