BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
protected override void OnButtonClicked(int rowIndex, int colIndex, int button) { this.Grid.CurrentCell.MoveTo(rowIndex, colIndex); //Console.WriteLine("clicked ({0},{1})", rowIndex, colIndex); this.ddForm.SetValuesFromString(this.Grid.Model[rowIndex, colIndex].Text); Rectangle rect = this.Grid.RangeInfoToRectangle(GridRangeInfo.Cell(rowIndex, colIndex)); this.ddForm.Location = this.Grid.PointToScreen(new Point(rect.Left, rect.Bottom)); if(this.ddForm.ShowDialog() == DialogResult.OK) { this.Grid.Model[rowIndex, colIndex].Text = this.ddForm.GetValuesToString(); } //base.OnButtonClicked (rowIndex, colIndex, button); }You can use the same event to set whatever controls you have on your form readonly if needed. To set the gridGroupingControl readonly, you can use the gridGroupingControl1.TableDescriptor.AllowEdit property.
GridCurrentCell cc = parentgrid.CurrentCell;
GridStyleInfo style = parentgrid[cc.RowIndex, cc.ColIndex];
>GridCurrentCell cc = parentgrid.CurrentCell;
>GridStyleInfo style = parentgrid[cc.RowIndex, cc.ColIndex];
>
>
>