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.

Scrollbar under header cells

Thread ID:

Created:

Updated:

Platform:

Replies:

7378 Sep 23,2003 12:22 PM Mar 8,2004 02:56 AM Windows Forms 3
loading
Tags: GridControl
Peter
Asked On September 23, 2003 12:22 PM

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

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

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 01:21 AM

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 02:56 AM

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

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.

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.

;