The problem is that the text in the header row seems to be unaccessible by ranorex. (Snapshot attached)
I need to get to the text of the cells in the header row.

var grid = mainForm.FindSingle("/form[@controlname='FrmMain']" +
"/container[@controlname='radDockMain']/container/container/container[@controlname='FrmPatientSearch1']" +
"/form/container[@controlname='radGvPatients']/table[@accessiblename='radGvPatients']");
var cellObj = grid.FindSingle("/form[@controlname='FrmMain']/container/container/container/container/form/container/table/row/cell[1]");
Any help would be appreciated.