BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
private void gridDataBoundGrid1_CurrentCellChanged(object sender, System.EventArgs e) { GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell; if(cc.ColIndex == 2) //id combo column somehow { GridRangeInfo range = this.gridDataBoundGrid1.Selections.Ranges.ActiveRange; if(!range.IsEmpty && range.Contains(cc.RangeInfo)) { range = range.IntersectRange(GridRangeInfo.Col(cc.ColIndex)); cc.ConfirmChanges(true); int position = this.gridDataBoundGrid1.Binder.CurrentPosition; this.gridDataBoundGrid1.Model.ChangeCells(range, cc.Renderer.ControlText); this.gridDataBoundGrid1.Binder.SetCurrentPosition(position, true); } } }
GridRangeInfo range = this.gridDataBoundGrid1.Selections.Ranges.ActiveRange;
that only looks at the active range, you could try the same code in this type of loop
foreach(GridRangeInfo range in this.gridDataBoundGrid1.Selections.Ranges)
{
//same code
}