Skip to Content
author's profile photo Former Member
Former Member

htmlb:tree differentiate between nodeclick and tree node expander click

Hi,

how can i differentiate between nodeclick and tree node expander (to get to its children) click in my event processing in htmlb:tree element.

<u><b>What i am trying to achieve?</b></u>

Onload just load root node and its immediate children.

On node expand get the children of the current node and modify htmlb:tree table2 with additional node inofs.

on node click call some client function.

But my issue is that i am not able to differentiate between node expander click and node click in my event handling. Any help on this is appreciated.

(I am not using MVC)

Thanks in advance.

Regards

Raja

Message was edited by: Durairaj Athavan Raja

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2004 at 06:21 AM

    May I ask why you just don't build the tree completely and let the BSP handle what is open and what not?

    Otherwise you'll have to check which node is clicked and if it is a main node then you would have to do your build and if not then it would just expand. A lot of extra logic involved there.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.