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

New Row not in the viewpoint of the Grid

2 Answers 31 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jürgen
Top achievements
Rank 1
Jürgen asked on 01 Oct 2016, 02:51 PM

Hello,

I'm on Progress OpenEdge 11.6.2.

Ich have a Gridview with about 1000 Adress rows. I create a new Adress outside the Grid and create via Datasource a new Row (at the end of the list) in the Grid.

I walk through the Rows an select the new row with "IsSelected = true". Everything works fine.

Only the Grid do not scroll to the selected row. So I have manually to scroll down to see this row. I tried "IsCurrent" with the same result.

Is there a way that the Grid autom. scoll down to selected row?

Thank you for your answer.

Regards Jürgen

2 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 03 Oct 2016, 12:30 PM
Hello Jurgen,

You can use the ScrollToRow method. For example:
radGridView1.TableElement.ScrollToRow(radGridView1.CurrentRow);

Please do not hesitate to contact us with any additional questions or concerns. 

Regards,
Dimitar
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
0
Jürgen
Top achievements
Rank 1
answered on 04 Oct 2016, 08:25 AM

Hello,

the missing word was "TableElement". Now ist works fine.

Thank you for your help.

Regards Jürgen

 

Tags
GridView
Asked by
Jürgen
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Jürgen
Top achievements
Rank 1
Share this question
or