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

[Solved] how to set the Horizontal Scroll position to view the last column of the RadGrid using ScrollIntoView function or anything else

1 Answer 314 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kiran Ghanwat
Top achievements
Rank 1
Kiran Ghanwat asked on 17 Sep 2010, 12:18 PM

                 Hi can anyone tell me how I can position the Horizontal Scrollbar of the RadGrid Such that it will show the last column Or specified column. I am using RadGridview in xaml and generatiog the Columns for it in code… I set the EnableColumnVirtualization="False" FrozenColumnCount="1".I used the ScrollIntoView function and I passed 0th item as fist parameter and last Colum object as second parameter to set the Scroll Position, But it did not work. I tried for ScrollIntoViewAsync but not getting how to use it to view the last column of grid. Then I tryied to use FindChildByType<ScrollBar> function of RadGrid to get the ScrollBar Object but it is returning null.

                 So anyone please tell me how to set scroll position or how to visualize the specified column.

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 21 Sep 2010, 03:50 PM
Hello Kiran Ghanwat,

Please find attached a sample application. Hope it helps.

Greetings,
Veselin Vasilev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Kiran Ghanwat
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or