Hi Shachar,
You can handle the TableControlMouseDown event of the grid and use the PointToTableCellStyle method to identify click on rowheader in a grid. Here is a code snippet
private void gridGroupingControl1_TableControlMouseDown(object sender, GridTableControlMouseEventArgs e)
{
GridTableCellStyleInfo style = e.TableControl.PointToTableCellStyle(new Point(e.Inner.X,e.Inner.Y));
if( style != null
&&( style.TableCellIdentity.TableCellType == GridTableCellType.AlternateRecordRowHeaderCell
|| style.TableCellIdentity.TableCellType == GridTableCellType.RecordRowHeaderCell
|| style.TableCellIdentity.TableCellType == GridTableCellType.AddNewRecordRowHeaderCell ))
{
MessageBox.Show("Your clicked on " + style.TableCellIdentity.TableCellType);
}
}
Here is a sample.
GGC_SummaryRow_Custom.zipBest regards,
Haneef