PDA

View Full Version : Changing details in multiline tree node



valfumble
29 Oct 2010, 1:27 PM
Hi,

I found treenodeui component for multiline tree node.

It works great with initial multiline values

However if I need to update the secondary rows, I could not find a good trick.

Any help pointers are greatly appreciated.

Thanks,
Valsar

valfumble
6 Jan 2011, 4:25 PM
I was able to get it to work by setting node.attributes.details = ['updated info'] within click listener for concerned node and calling reload on parent.

However I keep getting this error and the node above the parent gets selected.

Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Fri, 7 Jan 2011 00:24:06 UTC

Message: 'ui.wrap' is null or not an object
Line: 50501
Char: 9
Code: 0
URI: http://localhost:8080/extjs/ext-all-debug.js