- find the grid row marked by the row indicator?
- notified when the row indicator was changed/moved (while clicking on the indicator cell)?
Cheers
Jani
1 Answer, 1 is accepted
0
Milan
Telerik team
answered on 31 Oct 2009, 10:02 AM
Hi Jani,
The row indicator icon indicates which row is the current one and you could easily get the current item by using myGridView.CurrentItem. This property returns the current data item. If you would like to get the visual element that represents this current data item you could use the following command:
var currentRow = this.radGridView.ItemsControl.ItemsGenerator.ContainerFromItem(this.radGridView.CurrentItem);
Most of the time the selected item and the current one are one and the same item so the SelectionChanged event can be used as an indicator of current item change.