> Turns out that moveFocusedCell works very well to move the
> highlighted row around but it doesn't move the selected row.
The selection is managed by the SelectionModel. In order to set the
selection (the dark blue one, not the focus), you have to call this:
mytable.getSelectionModel().setSelectionInterval(myrow, myrow);
> I have not checked yet, but is there a property that I can look at to
> tell me how many visible rows there are?
This is how to get the number of visible rows:
var scroller = this._getPaneScroller(0);
var pane = scroller.getTablePane();
var rowCount = pane.getVisibleRowCount() - 1;
You should use one row less than the real visible row count (like in the
example), because the last row may be only half visible and if you
scroll the full amount, then you don't see that row in a whole.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel