This is a migrated thread and some comments may be shown as answers.

BringDataItemIntoView

1 Answer 32 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Orit
Top achievements
Rank 1
Orit asked on 29 Sep 2009, 11:59 AM
Hi
I have a grid which I add rows to
when there is a vertical scroll
I want to see the added row
so I use
gvSystemTables.SelectedItem = gvSystemTables.Items[System.Convert.ToInt32(gvSystemTables.Items.Count) - 1];  
gvSystemTables.BringDataItemIntoView(gvSystemTables.Items[System.Convert.ToInt32(gvSystemTables.Items.Count) - 1]); 
the problem is
when the grid does not  have scroll
after I add a row the grid scrolls down
although there is enugh place and no need to scroll
any idea?

1 Answer, 1 is accepted

Sort by
0
Nedyalko Nikolov
Telerik team
answered on 02 Oct 2009, 07:19 AM
Hello Orit,

With the version from latest internal build assemblies, when you add new row to the RadGridView this row automatically brings into view and enters into edit mode. Since there are still some issues related to vertical scrolling complete solution will be available with the next official release (2009.Q3), where whole virtualization logic (GridViewScrollViewer) is rewritten.
Sorry for the inconvenience caused.

All the best,
Nedyalko Nikolov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Orit
Top achievements
Rank 1
Answers by
Nedyalko Nikolov
Telerik team
Share this question
or