BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
grid.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell;
>grid.ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell;
>
private void gridControl1_CurrentCellStartEditing(object sender, CancelEventArgs e) { GridCurrentCell cc = this.gridControl1.CurrentCell; if(cc.ColIndex > 2 || (cc.ColIndex == 2 && this.gridControl1[cc.RowIndex, 4].Text != "1")) { e.Cancel = true; } }
>private void gridControl1_CurrentCellStartEditing(object sender, CancelEventArgs e) >{ > GridCurrentCell cc = this.gridControl1.CurrentCell; > if(cc.ColIndex > 2 || (cc.ColIndex == 2 && this.gridControl1[cc.RowIndex, 4].Text != "1")) > { > e.Cancel = true; > } >} >