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.

GridDataControl scrolling and live updates

Thread ID:

Created:

Updated:

Platform:

Replies:

99922 Jun 20,2011 04:21 PM Jun 21,2011 05:15 AM WPF 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On June 20, 2011 04:21 PM

Hi there,

I'm running the RealTime Updates Demo application provided as part of the installation package.
If I hit "Start Timer" to enable live updates, select a row, and then sort by a column (e.g. Last Trader), the currently selected row keeps jumping up and down, and sometimes even goes beyond the screen.

Is there a way to prevent this automatic scrolling? E.g. keep the selected row always in the same place?

Thanks.



Rajasekar [Syncfusion]
Replied On June 21, 2011 05:15 AM

Hi Alec,

Thank you for your update.

By default when you perform sorting in any GridDataVisibleColumn of the GridDataControl, the respective ascending/ descending sorting operation will be automatically applied to that collection of every modification in that collection.

GridDataControl will automatically scroll and the show the respective selected row in View and this is the default behavior. We cannot prevent the AutoScrolling in this scenario.

You can prevent this only by disabling the Sorting operation (“AllowSort=False”) of the GridDataControl.

The similar query is posted in the incident(#81741), If you need any other clarification please update in that respective incident for the better follow up.

Please let us know if you have any queries.

Thanks,
Rajasekar



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.

;