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.

Scroll to the selected index in DataGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

107477 Mar 4,2013 05:55 PM Mar 21,2016 10:30 AM WinRT 3
loading
Tags: SfDataGrid
Gary Pansino
Asked On March 4, 2013 05:55 PM

No "ScrollIntoView" type options come up in IntelliSense.  This is probably pretty simple but since we have no documentation, a quick tip is appreciated.

Thanks

Riyaj Ahamed I [Syncfusion]
Replied On March 5, 2013 07:05 AM

Hi Gary,

 

Thanks for choosing Syncfusion product.

 

As of now we do not expose any public method for Scroll in view option. Hence we have created feature request for this requirement. However we have created the workaround sample to achieve your requirement. Please check the sample under the following link.

 

Sample: ScrollInView_WorkArround.zip

 

Please let us know if you need further assistance.

 

Regards,

Riyaj Ahamed I          



ScrollInView_WorkArround_fe7b5dc2.zip

anthony nichols
Replied On March 18, 2016 06:01 PM

Any word on this? Looks like it's been almost 3 years since the feature request was put in.

Jayapradha S [Syncfusion]
Replied On March 21, 2016 10:30 AM

Hi Gary,

Yes. We have provided the support for getting the ScrollInView() method directly. Please find the code example below,

Code Example:


this.datagrid.GetVisualContainer().ScrollRows.ScrollInView(this.datagrid.SelectionController.CurrentCellManager.CurrentRowColumnIndex.RowIndex);
To access the GetVisualContainer() method, you have to include the namespace using Syncfusion.UI.Xaml.Grid.Helpers.

Please let us know if you require any other assistance.

Regards,
Jayapradha


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.

;