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

Programmatic Selection

2 Answers 46 Views
GridView
This is a migrated thread and some comments may be shown as answers.
jzamora
Top achievements
Rank 1
jzamora asked on 31 May 2011, 06:50 PM
How I can change this code to select a particular item, not the first but for example the item 3

this.radGridView.SelectedItem = ( ( ObservableCollection<Employee> )this.radGridView.ItemsSource ).First();

2 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 31 May 2011, 06:57 PM
Hello Zamora,

You may try to do the following:

this.clubsGrid.SelectedItem = this.clubsGrid.Items[3];
 

Regards,
Maya
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
jzamora
Top achievements
Rank 1
answered on 31 May 2011, 07:09 PM
Thanks,
It is exactly what I am seeking
 Regards
Tags
GridView
Asked by
jzamora
Top achievements
Rank 1
Answers by
Maya
Telerik team
jzamora
Top achievements
Rank 1
Share this question
or