This question is locked. New answers and comments are not allowed.
Hey guys,
When user clicks a cell in the grid I want to grab the column header of that cell and the value that sits at first column of that row. I have achieved the latter but need help on getting the Column header.
Here is where I got to:
This nicely returns the patient of the selected cell (even after sorting). Now only other data I need is the column header of that cell. How do I get it?
Any help is appreciated.
Hakki.
When user clicks a cell in the grid I want to grab the column header of that cell and the value that sits at first column of that row. I have achieved the latter but need help on getting the Column header.
Here is where I got to:
private
void
RDEgrid_SelectionChanged(
object
sender, SelectionChangeEventArgs e)
{
//rdeView = my data
var data = RDEgrid.SelectedItem
as
RdeView;
MessageBox.Show(data.PatientColumn);
}
This nicely returns the patient of the selected cell (even after sorting). Now only other data I need is the column header of that cell. How do I get it?
Any help is appreciated.
Hakki.