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.

Smooth scrolling & Cell activation

Thread ID:

Created:

Updated:

Platform:

Replies:

8061 Oct 17,2003 02:35 PM Oct 20,2003 08:09 AM Windows Forms 3
loading
Tags: GridControl
Patrick
Asked On October 17, 2003 02:35 PM

Does any one know how to make virtical and horizontal scrolling be smooth? I don't want to scroll per cell, I want to be able to scroll with X amount based on the scroll bar. i.e an editor. Also, is there any one to make cell selection not to scroll the grid at all? i.e if I clicked on a partial visible cell, the grid will make entire cell visible. Is there any one to prevent that? Thanks, Patrick

Administrator [Syncfusion]
Replied On October 17, 2003 05:27 PM

No, not currently. We will support pixel scrolling in a future release. That said, you can simulate not scrolling a whole cell by using covered cells. The idea is instead of having a 'normal' width cell, have maybe 10 cells of 1/10 the width of the normal cell, and then cover these 10 cells to make them look like the one normal cell. This will allow the 'normal cell' to scroll in 1/10 increments instead of its normal single cell scroll increment.

Patrick
Replied On October 20, 2003 06:55 AM

Clay, thanks for the quick reply. Your suggestion is great, I hope you guys can have pixel scrolling soon. My second question was, how can I prevent the grid from shifting the selected column from partial visible to completely visible when I select a partially visible cell. Can you please give me some advice?

Administrator [Syncfusion]
Replied On October 20, 2003 08:09 AM

Try handling the CurrentCellMoving event and there you can adjust e.Options &= ~GridSetCurrentCellOptions.ScrollInView; If that does not work then try handling CurrentCellMoving, and set some boolean flag. The handle LeftColChanging and set e.Cancel = true; if the boolean flag is set. In CurrentCellMoved you should reset the boolean flag. Stefan

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.

;