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

Scrolling to row only works with activated sorting?

5 Answers 73 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Stefan Berkmiller
Top achievements
Rank 1
Stefan Berkmiller asked on 01 Dec 2008, 01:48 PM
Hallo Telerik Team,

I have a grid with a BindingList<T> as datasource. Whenever I add a new item, the grid gets informed about it automatically. But I also want to have the new item selected and scrolled into view.

So I tried it like this:

                    radGridView1.CurrentRow = theNewRow;
                    radGridView1.GridElement.ScrollToRow(theNewRow);

Selecting the new row works fine, but scrolling to it does not work at all. The scrollbar does not move a bit.

But as soon as I click on a column header and apply a sorting order to the grid, everthing works as expected.

Here you can download a small example project to confirm that issue:
(click here and then on the small download button with the green arrow in the middle of the emerging page)

Greetings,
STB

5 Answers, 1 is accepted

Sort by
0
Stefan Berkmiller
Top achievements
Rank 1
answered on 03 Dec 2008, 09:14 AM
No one here? I'll send a support ticket instead ;)
0
Accepted
Nikolay
Telerik team
answered on 04 Dec 2008, 10:44 AM
Hello Stefan Berkmiller,

Thank you for contacting us.

You can now find the answer in your support ticket. The issue regarded in this post will be addressed in Q3 2008 SP1.

All the best,
Nikolay
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
James
Top achievements
Rank 1
answered on 06 Dec 2008, 02:17 PM
Can you post the response to his problem.  I am having a similiar issue with scrolling to a selected row.

Thanks.
0
Stefan Berkmiller
Top achievements
Rank 1
answered on 08 Dec 2008, 09:52 AM
Hello James,

there is no solution yet. The issue will be fixed in the Q3 2008 SP1 version. Telerik Support told me that this version will be released soon :).
0
Nick
Telerik team
answered on 08 Dec 2008, 11:06 PM
Hi James,

The issue discussed in this thread should have been fixed for Q3 2008 SP1. Please update to it if you have not already done so, and write me back if you have more questions.

Sincerely yours,
Nick
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Stefan Berkmiller
Top achievements
Rank 1
Answers by
Stefan Berkmiller
Top achievements
Rank 1
Nikolay
Telerik team
James
Top achievements
Rank 1
Nick
Telerik team
Share this question
or