Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Customizable node/leaf behavior
Lonestar
Junior Member

Posts: 2
Registered: 11/10/2005
Member Is Offline
posted on 11/10/2005 at 05:34 PM Reply With Quote
Customizable node/leaf behavior


Hi, I have a tree which has multiple levels. I want to do the following:

1. When selecting a node at any level, all nodes and leaves under that node are deselected.
2. When selecting a node at any level, dynamically change the icons for the nodes and leaves under that level.
3. When a node is selected at any level, disable the ability to select any of the nodes/leaves under that node.

I have accomplished #1, I need help with #2 and #3. I'd appreciate any suggestions.

Thanks!
View User's Profile View All Posts By User U2U Member
Lonestar
Junior Member

Posts: 2
Registered: 11/10/2005
Member Is Offline
posted on 11/10/2005 at 06:09 PM Reply With Quote

OK, I just figured out how to do #3. Now I really just need to know how to dynamically change the icons for the nodes and leaves under the selected node.

Thanks!
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 11/11/2005 at 04:44 PM Reply With Quote

It's possible to change item's icon dynamically by editing it's item scope settings:
var o_iss = o_item.a_config[2];
o_iss['i0'] = 'alter_icons/item.gif';
//etc...
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Multiple Trees
Frames Targeting
Icons and Styles Overloading
Event Handling
Performance Test
Version 1.2 features
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004