Vishal Patel schrieb:
> I need to add an event on the scrollbar for the Table. I have two tables say
> table1 and table2. On the change of scrollbar on table1, I also need to
> change scrollbar position for table2. So I need to capture the scroll event
> of table1 and force set scroll position in table2.
>
> I have tried following code, but it did not work :,(
>
> Table1.addEventListener("scroll",
>       function()
>       {
>           ….
>       }
>
> -Vishal.
>   

It should work like this:


Table1.getPaneScroller(0).addEventListener("changeScrollY", ...);

<http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.Table#getPaneScroller>
<http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.pane.Scroller#changeScrollY>


Best Fabain


-- 
Fabian Jakobs
JavaScript Framework Developer

1&1 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Andreas Gauger, 
Matthias Greve, Robert Hoffmann, Norbert Lang, Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to