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! Christian Derrell Lipman schrieb: > On 7/6/07, Christian Boulanger <[EMAIL PROTECTED]> wrote: > >> Duh! Derrel, of course you're right. I have the situation that there are >> only nodes so that the tree resembles a table, so I didn't even think of >> that. Stupid me. Thanks for the clarification... >> > > An interesting thought... With some work (looking at the data model > of the tree) you may be able to use the SimpleTreeDataCellRenderer in > a table, and then you could sort it as you like. It probably won't be > trivial, but should be doable for your purposes. > > 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 > ------------------------------------------------------------------------- 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
