According to the documentation: <div><br></div><div><span class="Apple-style-span" style="font-family: 'Times New Roman'; background-color: rgb(255, 255, 255); "><h3 class="fn" style="margin-left: 1cm; text-indent: -1cm; ">
<span class="Apple-style-span" style="font-weight: normal; "><font class="Apple-style-span" size="2"><a name="scrollTo">QTableView.scrollTo (<i>self</i>, </a><a href="file:///C:/Python26/Lib/site-packages/PyQt4/doc/html/qmodelindex.html" style="color: rgb(0, 79, 175); text-decoration: none; ">QModelIndex</a> <i>index</i>, <a href="file:///C:/Python26/Lib/site-packages/PyQt4/doc/html/qabstractitemview.html#ScrollHint-enum" style="color: rgb(0, 79, 175); text-decoration: none; ">QAbstractItemView.ScrollHint</a> <i>hint</i> = QAbstractItemView.EnsureVisible)</font></span></h3>
<div style="font-size: medium; "><br></div><div style="font-size: medium; ">I assume you would have to create a QModelIndex based on the first tables' scrolled to record, and then feed it into the second table via a key press (or release) grab?  If this is set up to fire for each scrolled record on the first table, it might get resource-intensive to 'synchronize' the scrolling, though.</div>
<div style="font-size: medium; "><br></div><div style="font-size: medium; "><br></div><div style="font-size: medium; "><br></div><div style="font-size: medium; "><br></div></span><br><div class="gmail_quote">On Tue, Nov 1, 2011 at 2:02 PM, Nader Abedrabbo <span dir="ltr"><<a href="mailto:aenader1@yahoo.com">aenader1@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Greetings,<br>
<br>
I have a program where two tables are shows next to each other.   One<br>
program is used to get user data, while the second table is used to show the<br>
results of the data after certain calculations are performed on the original<br>
data (via a calculate button).  The list of data in the tables can be in the<br>
hundreds. I added buttons to scroll to the bottom and top of the table.<br>
<br>
What I would like though is a synchronized scrolling of the two tables, i.e.<br>
if I scroll the first table, then the second table should scroll to the same<br>
view (same row level) as the first table.<br>
<br>
Is that possible?<br>
<br>
Thanks,<br>
Nader<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://old.nabble.com/Synchronized-scrolling-between-two-tables-tp32761709p32761709.html" target="_blank">http://old.nabble.com/Synchronized-scrolling-between-two-tables-tp32761709p32761709.html</a><br>

Sent from the PyQt mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
PyQt mailing list    <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
<a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt" target="_blank">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br>
</font></blockquote></div><br></div>