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: Selecting when opening

Posts: 1
Registered: 11/16/2004
Member Is Offline
posted on 11/16/2004 at 01:15 PM Reply With Quote
Selecting when opening

Hi all,

I have noticed that the default behavior for opening a node is different when a user clicks the +/- icon versus double clicking the node. When clicking the +/- icon, the node is not selected. However, when a user double clicks the node thenode becomes selected.

The desired behavior in my case is that the nodes not be selected when the user is opening a node. This is regardless of whether the user has clicked the +\- icon or double clicked the node.

The one solution I have tried is to override the default event handlers for opening a node (by returning false in my event handler). THe problem with this is that I still need to have the node opened and calling recursively triggers my event handler resulting in stack overflows.

Has anybody dealt with this?

View User's Profile View All Posts By User U2U Member
Junior Member

Posts: 4
Registered: 11/29/2004
Member Is Offline
posted on 12/1/2004 at 12:29 AM Reply With Quote

actually im having the SAME issue.
And i cant seem to figure out why

If i use the item scope methos i dont get the error But I dont get it expanding for any reason after that as well.

View User's Profile View All Posts By User U2U Member

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 12/15/2004 at 12:55 PM Reply With Quote

Actually double-click always occurs after click event. On click select action is performed, on double-click - toggle.
function onItemOpenHandler(o_item){; // deselects node
return true; //default open routine
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