We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Floating horizontal scrollbar in grid

Thread ID:

Created:

Updated:

Platform:

Replies:

149386 Nov 24,2019 10:37 PM UTC Nov 28,2019 10:30 AM UTC Angular - EJ 2 1
loading
Tags: Grid
Darryl Johnson
Asked On November 24, 2019 10:37 PM UTC

Hi Team,

I have a requirement of making floating horizontal scrollbar in the grid so that the user doesn't have to scroll all the way to down the page to start scrolling horizontally.

Regards

Pavithra Subramaniyam [Syncfusion]
Replied On November 28, 2019 10:30 AM UTC

Hi Darryl, 

Thanks for contacting Syncfusion support. 

You can achieve your requirement of “Rendering a floating horizontal scrollbar in the grid” by setting the grid’s parent element position to “absolute” as demonstrated in below code snippet, 

<div id="container" style="position: absolute;"> 
  <ejs-grid #grid (dataBound)='onDataBound($event)' width='auto' height='auto'  [dataSource]= 'data'> 
  </ejs-grid> 
</div > 

Sample for your reference, 

 
Let us know if you have any concerns. 
 
Regards, 
Pavithra S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon