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.
Unfortunately, activation email could not send to your email. Please try again.

Grid Scroll Bars

Thread ID:





42939 Apr 10,2006 07:47 PM Apr 14,2006 01:34 AM Windows Forms 3
Tags: GridControl
Asked On April 10, 2006 07:47 PM

Using the Grid Grouping control in ASP.Net, how can I display only the vertical scroll bar or the horizontal scroll bar, but not both? I am able to display both at the same time, but I don''t always need both. The samples show grids with only one scroll bar, but I haven''t been able to find the settings that control this behavior. Thanks.

Administrator [Syncfusion]
Replied On April 11, 2006 08:10 AM

Hi Careed, This is the default behavior, where the scrollbar appears whenever the height and width of the grid is specified. To display only the Horizontal scrollbar, do not assign any value for the Grid''s height and similarly to display the Vertical scrollbar alone, do not assign any value to the Grid''s width. Best Regards, A.Sivakumar

Replied On April 11, 2006 01:13 PM

By specifying a height for my grid grouping control and leaving the width blank, I have been able to make the grid display only a vertical scroll bar. How do I make the grid display only a horizontal scroll bar? If I specify a width for the grid grouping control and leave the height blank, both scroll bars are displayed. The vertical scroll bar only scrolls a small amount (approximately the height of the horizontal scroll bar control) regardless of the number of records in the grid. Thanks.

Administrator [Syncfusion]
Replied On April 14, 2006 01:34 AM

Hi Careed, Please have a look at our ScrollingandSizing/GridWidthAndSizing sample that ships with our Essential Grid install. Are you getting problem in this sample too?. As an alternative you can also check this sample in our live demo site http://www2.syncfusion.com/syncfusion/infrastructure/samplebrowserasp/samples.aspx?version=2_0 where this work as expected by specifying the width and/or size for the Grid in the text box provided. Regards, A.Sivakumar


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.

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.