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

Select and scroll to newly added row item

7 Answers 97 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Norsten
Top achievements
Rank 1
Norsten asked on 20 Jun 2011, 10:05 AM
After adding a new row to the gridview, how can I select and scroll to it after its been added ?

7 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 20 Jun 2011, 10:21 AM
Hello Norsten,


You may try with the ScrollIntoViewAsync method of RadGridView for that purpose. 


Greetings,
Vanya Pavlova
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
Norsten
Top achievements
Rank 1
answered on 20 Jun 2011, 04:10 PM
Sorry   -I wasnt clear enought before  -I am extending the Gridiview and would like it so that after the customer adds a new row it would then automatically select it.

At the present when they click on the "Click here to add new item" they are able to enter the new details -but after they finished entering it the item drops to the of the bttom of gridview items.

Is there an event that I can subscribe to when it moves the new item to the bottom ?

Cheers.
0
Jared
Top achievements
Rank 1
answered on 30 Nov 2011, 11:49 PM
Hi @Norsten,

Did you find a way to select a row after it has been added to the grid?

We are binding an ObservableCollection<T> to the ItemSource of a RadGridView. When an item is added to the collection, it appears in the grid as expected, however, we would also like to select that item.

Any\all suggestions are appreciated!

Thanks!

Jared
0
Jared
Top achievements
Rank 1
answered on 30 Nov 2011, 11:50 PM
Apologies for duplicate posts, there is an issue with the Telerik website.
0
Jared
Top achievements
Rank 1
answered on 30 Nov 2011, 11:50 PM
Apologies for duplicate posts, there is an issue with the Telerik website.
0
Jared
Top achievements
Rank 1
answered on 30 Nov 2011, 11:50 PM
Apologies for duplicate posts, there is an issue with the Telerik website.
0
Jared
Top achievements
Rank 1
answered on 30 Nov 2011, 11:51 PM
Apologies for duplicate posts, there is an issue with the Telerik website.
Tags
GridView
Asked by
Norsten
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Norsten
Top achievements
Rank 1
Jared
Top achievements
Rank 1
Share this question
or