HA
haneefm
Syncfusion Team
July 3, 2007 08:51 PM UTC
Hi Frank,
You can try these code snippet :
private void gridControl1_CellButtonClicked(object sender, Syncfusion.Windows.Forms.Grid.GridCellButtonClickedEventArgs e)
{
GridControl grid = sender as GridControl;
int i = Convert.ToInt16(grid.CurrentCell.Renderer.ControlValue);
int increment = e.ButtonIndex != 1 ? 1 : -1;
int ivalue = i + increment;
Console.WriteLine("New Value" + ivalue);
}
Best regards,
Haneef
FP
Frank Papin
July 4, 2007 07:01 AM UTC
Hi, Haneef
Thank you, it works well.
Best regards.