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

[Solved] How can i get the row displayed in the ScrollPositionIndicatorTemplate

1 Answer 116 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.
Weiqi
Top achievements
Rank 1
Weiqi asked on 06 Sep 2010, 12:09 PM
Hi,

we know that we can define a Data Template for GridView.ScrollPositionIndicatorTemplate to show one or more fileds of row(view model) by binding.  when scrolling the vertical scrollbar,  fileds of top row will be displayed and will be changed according to the position of scrollbar. 

my question is :  is there any way we can get the row which fileds are displayed in the ScrollPositionIndicator?


Thanks,
Weiqi

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 07 Sep 2010, 06:50 AM
Hi,

You can use DataContext to achieve your goal. Please check this demo for more info. 

All the best,
Vlad
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
Weiqi
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or