Dear Sebastien, > Replace this line > > selectionModel.setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION); > > by > > selectionModel.setSelectionMode(qx.ui.table.selection.Model.MULTIPLE_INTERVAL_SELECTION_TOGGLE); > > and remove the color theme, if you want keep the highlight option. > Thanks for the code and the pointers. This model works better.
Still, when I scroll down the rows using arrow keys, the current row is also deemed selected. Instead I want a row to only be selected if a row is clicked/double-clicked or if a special key like "spacebar" or "x" is pressed. How do I disable selection of a row, if it happened due to scroll and not out of clicks/select key say "x" pressed while row is highlighted? If it involves writing extra code, I've got a vague idea of how, but I'd prefer the original MULTIPLE_INTERVAL_SELECTION itself, as it too has its advantages. If it's supported out of the box, then I'll go for it. cheers, skar. -- -- The life so short, the craft so long to learn. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
