On 7/7/07, Christian Boulanger <[EMAIL PROTECTED]> wrote:
The TreeVirtual probably shouldn't be sorted client-side, but
server-side, since single nodes can be refreshed easily. What I then
need is a way of finding out when the column header is clicked on:
- event "user clicks on column header"
-> table stores header name internally and triggers refresh of all
visible nodes
-> on each subsequent refresh/retrieval, server gets information which
header is the relevant one for ordering query results and returns tree
node data in this order
Can you give me the API call sequence to the column header object to
which I can attach the "click" event? It is not easily visible from the
API docs. Thanks!
It looks like you want to do something like this:
<pre><code>
var scrollerArr = myTable._getPaneScrollerArr();
for (var i=0; i<scrollerArr.length; i++)
{
var paneScroller = scrollerArr[i];
paneScroller._headerClipper.addEventListener("click, myHandler);
}
</code></pre>
Derrell
-------------------------------------------------------------------------
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