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.

GridControl ScrollInView not working

Thread ID:

Created:

Updated:

Platform:

Replies:

105493 Oct 30,2012 04:48 PM Nov 20,2012 12:03 PM WPF 1
loading
Tags: GridControl
James Cronen
Asked On October 30, 2012 04:48 PM

I have a large amount of data in my GridControl. I have a search utility that returns a row index, and I'd like to change the selection to the data representing that row. I have several frozen rows, and so I offset the row number by that amount.

MyTabItemExt is a subclass of the Syncfusion TabItemExt which contains a Syncfusion GridControl.

            if (this.CaseTab.SelectedItem is MyTabItemExt) {
                MyTabItemExt p = this.CaseTab.SelectedItem as MyTabItemExt;
                p.GridControl.Model.Selections.Clear();
                p.GridControl.Model.Selections.Add(GridRangeInfo.Row(index + p.GridControl.FrozenRows));
                p.GridControl.ScrollInView(new RowColumnIndex(index + p.GridControl.FrozenRows, 0));
            }


The selection seems to be working fine. But the problem is, my call to GridControl.ScrollInView() isn't working. What am I doing wrong?


Pannir Selvam S [Syncfusion]
Replied On November 20, 2012 12:03 PM

Hi James,

Thanks for using Syncfusion product

We have analyzed the reported issue in different scenario but we are unable to reproduce the issue. Could you please check the attached sample. That sample may be solve your issue.

Please let us know if any other queries.

Thanks,
Pannir



VirtualGridDemo_300d0aa6.zip

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.

;