> How do I programatically deselect all selected rows in a 
> qx.ui.table.Table so the table forgets all information of a 
> previous selection?
>
> ...snip...
>
> So there must be another location/attribute which still has 
> information about the selected row because the rowrenderer IS 
> getting the information that this row has to be rendered with the 
> "selected but not focused" background.

Have you looked at setFocusedCell? That sets table._focusedRow which is
used in table._onkeydown for keyboard navigation. Therefore you need to
call setFocusedCell even if you aren't showing the focus indicator. 

The API is hacky here - if you don't show the focus indicator then the
only thing that affects is the actual display of it, not the underlying
handling of it (see qx.ui.table.pane.Scroller._updateFocusIndicator for
where it is hidden). So, for example, if you press the right and left
arrow keys in a table you are setting focus to the next column but you
can't see it. At some point you will be on the last column and moving one
more to the right will move to the next row. But your users can't see
that.

Hugh

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to