code: function(event) {
      var tableBody = event.currentTarget,
          scrollValues = event.data.get("scrollValues");
  
      scrollValues.set("left", tableBody.scrollLeft);
      scrollValues.set("width", tableBody.scrollWidth);
    }
docs: Scroll handler