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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Scrollbar under header cells

Thread ID:





7378 Sep 23,2003 04:22 PM UTC Mar 8,2004 07:56 AM UTC WinForms 3
Tags: GridControl
Asked On September 23, 2003 04:22 PM UTC

How can i make the vertical scrollbar start under the header cells.

Administrator [Syncfusion]
Replied On September 23, 2003 08:34 PM UTC

Check out the Essential Suite\Grid\Samples\Quick Start\ScrollBars sample. This shows how to use detached scrollbars with the grid. The idea would then be to use this approach and place the vertical scrollbar inside the client area of the grid below the headers. I think that could work. Stefan

Christian Morand
Replied On March 8, 2004 06:21 AM UTC

Is there a way to have Vscroll bar to start under header cells and Hscroll bar to start at a specified column. I have a number of grids and GDBG where this would be a nice thing to have. I could use detached scrollbars but in most case it would require to much work due to grid and other controls positions. If nothing else exist could it be a feature request? Thanks in advance. Chris

Administrator [Syncfusion]
Replied On March 8, 2004 07:56 AM UTC

There are no property setting to manage this. But I think it would be straight forward to set up a usercontrol that handled this for you. You could dock panel right and bottom. Then in the bottom panel, dock another panel left and dock fill your horizontal scrollbar. Then in the right panel dock two panel top and bottom, and then dock fill the vertical scrollbar. By sizing the top and bottom panels in the right panel, you can dynamically position the vertical scrollbar. By sizing the left panel in the bottom panel, you can dynamically position the horizontal scrollbar. Then you can dock fill a grid in the user control and set it to use these disconnected scrollbars. Then each time you need one of these special grids, use this usercontrol instead of the GridDataBoundGrid. You can expose a public field or property on the user control to directly access the grid. Below is a little sample showing what I mean. forum7378_4382.zip


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