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

How to focus on a a newly inserted item?

1 Answer 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 22 Nov 2011, 05:20 PM
After an insert on a grid, sometime i am unable to see the row that i have just inserted because the row count may be larger than the first page and the new row may be ordered lower in the grid than existing items. Is there a way i can display the previously inserted row as the first row without having to manipulate my SQL to do so. This particular table has no timestamps so we cannot order the data by that.

1 Answer, 1 is accepted

Sort by
0
Jayesh Goyani
Top achievements
Rank 2
answered on 22 Nov 2011, 06:22 PM
Hello,

This type of functionality was not available in Ragrid.(Its not possible).

We have to manage this thing manually.

You can store newly insertedItem's any value in Seesion or ViewState and you can manully do sorting and assign the datasource to your Grid.

Thanks,
Jayesh Goyani
Tags
Grid
Asked by
Michael
Top achievements
Rank 1
Answers by
Jayesh Goyani
Top achievements
Rank 2
Share this question
or