BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
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