Hi,

the playground example at the bottom shows the following behaviour:

If you select either the 2nd and 3rd row and then press the Delete button
(removing the 2nd row from the table model), then the remaining 2nd line is
"focused", but not selected.

Is this intentional? My feeling is that the focus should either be removed
as well as the selection or both should be set on the 2nd line.

BTW, resetCellFocus() only removes the light-blue background color, but
leaves the cellFocusIndicator on. I couldn't figure out a way of
"resetting" the cellFocusIndicator as well (short of completely disabling
it).

Cheers,
Fritz

http://demo.qooxdoo.org/devel/playground/#%7B%22code%22%3A%20%22%2520%2520%2520%2520%2520%2520var%2520tableModelSimple%2520%253D%2520new%2520qx.ui.table.model.Simple%28%29%253B%250A%2520%2520%2520%2520%2520%2520tableModelSimple.setColumns%28%255B%2520%2522Location%2522%252C%2520%2522Team%2522%2520%255D%29%253B%250A%2520%2520%2520%2520%2520%2520var%2520tableSimple%2520%253D%2520new%2520qx.ui.table.Table%28tableModelSimple%29%253B%250A%2520%2520%2520%2520%2520%2520var%2520button%2520%253D%2520new%2520qx.ui.form.Button%28%2522Delete%2522%29%253B%250A%250A%2520%2520%2520%2520%2520%2520var%2520doc%2520%253D%2520this.getRoot%28%29%253B%250A%250A%2520%2520%2520%2520%2520%2520doc.add%28button%252C%2520%257Bleft%253A%2520100%252C%2520top%253A%252020%257D%29%253B%250A%250A%2520%2520%2520%2520%2520%2520doc.add%28tableSimple%252C%2520%257Bleft%253A%2520%252020%252C%2520top%253A%252070%257D%29%253B%250A%2520%250A%2520%2520%2520%2520%2520%2520var%2520data%2520%253D%2520%255B%2520%255B%27lo
c1%27%252C%2520%27team1%27%255D%252C%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%255B%27loc2%27%252C%2520%27team2%27%255D%252C%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%255B%27loc3%27%252C%2520%27team3%27%255D%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520%255D%253B%250A%250A%2520%2520%2520%2520%2520%2520tableModelSimple.setData%28data%29%253B%250A%250A%2520%2520%2520%2520%2520%2520%252F*%2520Delete%25202nd%2520row%2520%2520*%252F%250A%2520%2520%2520%2520%2520%2520button.addListener%28%2522execute%2522%252C%2520function%28e%29%2520%257B%250A%2520%2520%2520%2520%2520%2520%2520%2520%2520%2520tableModelSimple.removeRows%281%252C1%29%253B%250A%2520%2520%2520%2520%2520%2520%257D%29%253B%250A%2520%250A%22%7D

--
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to