Normally, you only make minimal use of row/column indexes in a GridGroupingControl. The reason is that as you have multiple groupings and/or nested tables and/or extra sections in your grid and/or filters and/or summaries, the rows/columns become less intuitive to use.
You can use code like this to get the TableCellStyleInfo object for the cell.
GridTableCellStyleInfo style = e.TableControl.Model[e.Inner.RowIndex, e.Inner.ColIndex];
Once you have this object, you know about everything there is to know about a cell, but you do have to conditionally access information, as not all properties are populated for all types of cells.
If you want to pick out a column by name, you can use:
private void gridGroupingControl1_TableControlPushButtonClick(object sender,
GridTableControlCellPushButtonClickEventArgs e)
{
GridTableCellStyleInfo style = e.TableControl.Model[e.Inner.RowIndex, e.Inner.ColIndex];
if(style.TableCellIdentity.Column != null
&& style.TableCellIdentity.Column.MappingName == (_TimePhasedButtonName)
{
MessageBox.Show("Button pressed on Row " + e.Inner.RowIndex.ToString());
}
}
If you want the group level, you can use:
style.TableCellIdentity.DisplayElement.GroupLevel