Hi, I get a JavaScript error after removing a currently selected TreeFolder item from a Tree (using the qx.ui.treefullcontrol classes). After the selected item has been removed, there is no item selected anymore. The error occurs when another item is selected thereafter:
qx.manager.selection.TreeFullControlSelectionManager[231]: Setting property "leadItem" to "[object org.eclipse.rap.rwt.widgets.TreeItem]" failed with exception: TypeError - this._states has no properties This happens when the item is simply disposed of. I am not sure about the proper way of removing a child item from a Tree. I also tried this: var parent = item.getParentFolder(); var index = parent.indexOf( item ); parent.removeAt( index ); but the index is always -1. However, even with removeAt( 0 ), an error occurs when the first item is currently selected and another item is selected afterwards: qx.ui.treefullcontrol.TreeFolder: Setting property "selected" to "false" failed with exception: TypeError - this._states has no properties Is there a way to remove a selected item properly? Thanks, Ralf ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel