GridDataControl scrolling and live updates

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.



1 Reply

RA Rajasekar Syncfusion Team June 21, 2011 09:15 AM UTC

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



Loader.
Up arrow icon