ST
stanleyj
Syncfusion Team
January 4, 2006 09:44 AM UTC
Hi Anupama,
The text on the PushButton is set through the Description property. TableControlPushButtonClick is raised when a PushButton ic clicked. The cell information can be collected from that handler.
private void gridGroupingControl1_TableControlPushButtonClick(object sender, Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlCellPushButtonClickEventArgs e)
{
GridTableCellStyleInfo style = e.TableControl.GetTableViewStyleInfo(e.Inner.RowIndex, e.Inner.ColIndex);
Console.WriteLine(e.TableControl.TableDescriptor.Name +" "+ style.TableCellIdentity.Column.Name +" "+e.Inner.RowIndex);
}
>> Also is there a sample where you have added a cell type of a link button?
Refer this sample in Syncfusion\Essential Studio\4.1.0.10\windows\Grid.Windows\Samples\CellTypes\LinkLabelCells to see if that helps.
Best regards,
Stanley