4 Answers, 1 is accepted
0
Hi,
Vlad
the Telerik team
You can use ScrollIntoView() method of the grid to scroll to the first column.
All the best,Vlad
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Keith
Top achievements
Rank 1
answered on 25 May 2011, 04:00 PM
This does not work.
0
Hello Keith,
Here is more information about this approach:
private
void
Button1_Click(
object
sender, RoutedEventArgs e)
{
this
.playersGrid.ScrollIntoView(
this
.playersGrid.Items[0],
this
.playersGrid.Columns[0]);
}
private
void
Button2_Click(
object
sender, RoutedEventArgs e)
{
this
.playersGrid.ScrollIntoViewAsync(
this
.playersGrid.Items[0],
this
.playersGrid.Columns[0],
null
);
}
All the best,
Milan
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Keith
Top achievements
Rank 1
answered on 13 Jun 2011, 05:55 PM
This option only works if there is data in the grid. How can I make this work when there is no data?