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

[Solved] Identify Column Header for selected cell

1 Answer 92 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.
Timothy
Top achievements
Rank 1
Timothy asked on 04 Nov 2010, 06:27 PM
I need to identify the column header for a selected cell.

I found that you can identify the currently selected row using the code below but I also nedd to be able to identify the current column for a selected cell.

Dim selectedRow = Me.CheckListItemssDataGrid.ItemContainerGenerator.ContainerFromItem(Me.CheckListItemssDataGrid.SelectedItem)


Please advise.


Thanks,
Tim

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 08 Nov 2010, 03:30 PM
Hello Timothy,

The CurrentColumn property of RadGridView will help you identify the column of the currently selected cell/row.


Best wishes,
Milan
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
Timothy
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or