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.
Syncfusion Feedback

Shared Scrollbars with 2 grids

Thread ID:

Created:

Updated:

Platform:

Replies:

10289 Jan 28,2004 05:59 PM UTC Jan 29,2004 04:53 PM UTC Windows Forms 3
loading
Tags: GridControl
Justin Koh
Asked On January 28, 2004 05:59 PM UTC

Hello, I am trying to use two grids on top of each other in order to have a frozen totals row to my data. (AFAIK, frozen rows are always at the top, hence the need for another grid below to hold the totals). In Win2K, I did this by setting the .HScrollBarBehavior of the top grid to GridScrollBarMode.Shared , set the .UseSharedScrollBars to True, and set the .HScrollBar.InnerScrollBar = totalsGrid.HScrollBar.InnerScrollBar. I just upgraded to WinXP and the top Grid now will not hide the horizontal scrollbar. I''ve tried setting the .HScrollBehavior to Disabled and setting the visibility of the scrollbar but neither works. Is there a way to do this in WinXP?

Administrator [Syncfusion]
Replied On January 28, 2004 06:43 PM UTC

Here is a KB link on adding a summary row at the bottom of a grid. http://www.syncfusion.com/Support/article.aspx?id=10398 Will this serve your needs?

Justin Koh
Replied On January 29, 2004 01:35 PM UTC

I looked at the sample and tried to add it to my own project. Unfortunately, I still have scrollbar problems in my application. When I embed the summary grid as the sample says to do, the horizontal scrollbar disappears. What I''m most confused about is the fact that this does not occur in Win2K, only XP.

Administrator [Syncfusion]
Replied On January 29, 2004 04:53 PM UTC

Do you see the problem in the sample on XP? There is a property, grid.HScroll. You might try explicitly setting that to false to to if that makes a difference.

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.

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

;