I need to scroll to the last column (right-most) when I open a form with a RadGridView.
I use this code to scroll:
This works, but only when there is data in the gridview. When I try to run this line of code before the gridview has any data, nothing happens. Am I doing something wrong, or is this just not possible?
I use this code to scroll:
MyGridView.ScrollIntoView(
null
, MyGridView.Columns[MyGridView.Columns.Count - 1]);
This works, but only when there is data in the gridview. When I try to run this line of code before the gridview has any data, nothing happens. Am I doing something wrong, or is this just not possible?