[qooxdoo-devel] header column index for remote table
Brought to you by:
ecker,
martinwittemann
From: A. W. <we...@pe...> - 2013-04-30 05:50:13
|
Using qx.ui.table.model.Remote I retrieve data from MySQL and display it in a qx.ui.table.Table. How can I obtain the column index when the user clicks in a column in the table header? I want to sort the data according to the selected column to be able to assemble the appropriate SQL statement. I can capture the click event with myTable.getPaneScroller(0).getHeader().addListener("click",function(e) { alert("click"); },this); but I don't know how the get the correct column index. Any help or code snippet is greatly appreciated! A. Weber |