There are 2 tables with same number of notes and joint store. It is nesessury to synchronize the position of vertical scroll and the current line.
For extjs3 the code was
Code:
grid1.on('bodyscroll', function(scrollLeft, scrollTop){
     grid2.getView().scroller.scrollTo('top', scrollTop);
});

grid2.on('bodyscroll', function(scrollLeft, scrollTop){
     grid1.getView().scroller.scrollTo('top', scrollTop);
});
For extjs4 I did the following (I had to enter additional conditions to avoid resonance)
Code:
Ext.FocusManager.enable();
...
grid1.getView().on('bodyscroll', function(event, target){
var foc_el = Ext.FocusManager.focusedCmp;
if (foc_el)
{
  if ((foc_el.id=='grid1')|| (foc_el.id == grid1.getView().id))
  {
    grid2.setScrollTop(target.scrollTop);
  }
}
});

grid2.getView().on('bodyscroll', function(event, target){
var foc_el = Ext.FocusManager.focusedCmp;
if (foc_el)
{
  if ((foc_el.id=='grid2')|| (foc_el.id == grid2.getView().id))
  {
    grid1.setScrollTop(target.scrollTop);
  }
}
});
But for example whole scrolling under IE7 foc_el - null . Is there any optimal method?
Sorry for my english.