You need to subscribe to each cell to get the Click event. After, through the sender, you can access the ParentRow.
<code>
private void Form1_Load( object sender, EventArgs e )
{
//…
foreach( Cell cell in dataRowTemplate1.Cells )
{
cell.Click += new EventHandler( cell_Click );
}
}
void cell_Click( object sender, EventArgs e )
{
//((Xceed.Grid.DataRow)((Cell)sender).ParentRow)
}
</code>
Imported from legacy forums. Posted by CharlesB (had 5073 views)