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.

First Click on Datarow makes the Scroll Bar jump

Thread ID:

Created:

Updated:

Platform:

Replies:

79405 Feb 6,2009 12:24 PM Feb 9,2009 02:35 AM Windows Forms 1
loading
Tags: Grouping
Sameer Khan
Asked On February 6, 2009 12:24 PM

I have a GGC bound to a custom implementation of BindingList.

The Row model is very wide; so when the items are added to the Grid; I have a Hscroll bar.

If the user adds a row; then drags the scroll bar such that a previously hidden column is not exposed; and clicks on a previously hidden cell; I would expect the cell to receive the focus; However; the scroll bar automatically drags to the extreme left; and a cell which would have been in the place of the mouse click had the scroll bar not initially been moved gets selected.

and this only happens the first time. Is there a way to prevent this behavior.

-S


Rajadurai C [Syncfusion]
Replied On February 9, 2009 02:35 AM

Hi Sameer,

Thanks for your interest in Syncfusion products.

Please refer to the following sample in which grid is binded to custom collection using IBindingList.
http://websamples.syncfusion.com//samples/Grid.Windows/F79405.zip

In this sample, on adding a new record to ggc, even the cell in the right most column is set focussed before, the grid scrolled to the leftmost column with the current cell set to newly added record. I couldn't reproduce any unexpected behavior.

Please let me know if this helps. If it seems i misunderstood the issue, please try to replicate the issue in the attached sample and provide us.


Regards,
Rajadurai


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.

;