Problems with trees [message #132767] |
Wed, 13 May 2009 21:39 |
Jorge Messages: 13 Registered: July 2009 |
Junior Member |
|
|
Hi,
I have some problems with trees:
1) I have a tree with some columns and after order by a column, the tree
selections dont work more and the page have this javascript error:
this._labelObject has no properties
http://127.0.0.1:2616/rap?custom_service_handler=org.eclipse .rwt.internal.service.JSLibraryServiceHandler&hash=H1214 603519
Line 249
Line 249:
qx.Class.define("org.eclipse.swt.TreeItemUtil",{statics:{createTreeItem:function(widgetId,parent,tree)
{var wm=org.eclipse.swt.WidgetManager.getInstance();var realParent=null;
if(parent instanceof
org.eclipse.swt.widgets.Tree){realParent=parent.getTree();}
else{realParent=parent;}var w=new
org.eclipse.swt.widgets.TreeItem(realParent,tree);
wm.add(w,widgetId,false);
this.hijackTreeItemSelection(w);},hijackTreeItemSelection:fu nction(item){
item._applySelected=function(value,old){if
(value){this.addState("selected");
this._labelObject.addState("selected");}else{this.removeState( "selected");
this._labelObject.removeState("selected");}var vTree=this.getTree();
if
(!vTree._fastUpdate||(old&&vTree._oldItem==this)){th is._iconObject.setSource(this._evalCurrentIcon());
if
(value){this._iconObject.addState("selected");}else{this._iconObject.removeState( "selected");}}};}}});
2) Double click does not work
3) Change item foreground color on a tree with columns does not work for
the first column
4) Change item background color does not work
regards
Jorge
|
|
|
|
Powered by
FUDForum. Page generated in 0.03273 seconds