Handle the LeftColChanged event in each grid. Here is a handler that illustrates what you need to do. The idewas is to set the other grid''s LeftColIndex when the a grid''s LeftColIndex is changed. You ahve to avoid a recursive call though, and that is why the inEvent member is used.
bool inEvent = false;
private void grid_LeftColChanged(object sender, GridRowColIndexChangedEventArgs e)
{
if(inEvent)
return;
inEvent = true;
GridControl grid = sender as GridControl;
if(grid != this.gridControl1)
{
this.gridControl1.LeftColIndex = grid.LeftColIndex;
}
if(grid != this.gridControl2)
{
this.gridControl2.LeftCollndex = grid.LeftColIndex;
}
inEvent = false;
}