Hello,
How to programmatically go to selected row? I'm talking about situation when you changed sorting and selected row now in the end or middle of list out of visible area.
Hi,
If by version 2010 Q2 you mean NetAdvantage 2010 volume 2 - the method is there, I even double checked both the first and last builds, and it is used exactly as Hady suggests.
I should probably point out that regardless that this is the WPF forum, Hady’s solution is for the Silverlight XamGrid, whereas the WPF XamDataGrid exposes different methods: BringRecordIntoView, BringCellIntoView, BringDataItemIntoView. Here is also another forum thread on that topic: http://forums.infragistics.com/forums/p/27672/129009.aspx#
Hope this clarifies things.
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support
UP
I have version 2010 Q2 an method ScrollCellIntoView does not exists in the xamGrid.
xamGrid1.ScrollCellIntoView(xamGrid1.SelectionSettings.SelectedRows[0].Cells[0]);