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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How can I disable the Syncfusion Grid vertical scroll bar?

Thread ID:





48901 Sep 6,2006 08:30 AM UTC Sep 8,2006 03:35 AM UTC WinForms 4
Tags: GridControl
Qingdong Fu
Asked On September 6, 2006 08:30 AM UTC

I want to show the whole grid without a vertical/horizontal scroll bar. I tried setting VScroll to false, but it did not work.

Administrator [Syncfusion]
Replied On September 6, 2006 09:03 AM UTC

Hi Qingdong,

Please try this code for hide the Scrollbar in a grid.

this.grid1.HScrollBehavior = GridScrollbarMode.Disabled ;
this.grid1.HScroll = false;

this.grid1.VScrollBehavior = GridScrollbarMode.Disabled;
this.grid1.VScroll = false;

To have disabled and visible scrollbars, See the below sample.

To support the sizing in the grid, see the following Kb article.

Let me know if this helps.
Best Regards,

Qingdong Fu
Replied On September 6, 2006 09:28 AM UTC

I tried your demo. It worked very well. But my program did not.

I am using a virtual grid, which contains more than 10000 rows, at the same time, each row has its own height which calculated by GridQueryColHeight event handler.

At the intialization, I just set the size of the grid, like this.gridcontrol.Size = new Size(100, 200). Does it affect?

Administrator [Syncfusion]
Replied On September 7, 2006 05:28 AM UTC

Hi Qingdong,

Please try the following sample and let us know if you have any issues


Qingdong Fu
Replied On September 8, 2006 03:35 AM UTC

Thanks for your update. But my question still exists. I wonder it could be something else that affect it. I will take deeper debugging on it.

BTW, I am using Syncfusion Grid 2.1.


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

or the page will be automatically redirected to 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