Closed williamherry closed 11 years ago
JqTree does not support that at this moment. I will look into it.
Is there a reason you want to handle the click event on this element?
@mbraak I think it is fit people's expect, that when mouse move on something, and pointer change to hand, people(at lest me) will thing it is clickable
I am new to web develop and can't figure it out by myself
Yes, that sounds like an improvement. I will look into it.
I change the cursor myself but if the only thing you want is to change the cursor for the title you can do that by adding a simple CSS rule to your stylesheets.
@rosenfeld no, I want the entire tag(the entire line) that contain tree title can be clickable
It depends on what you put on the title. If you only put the title itself there, then you're right. But it is just a div, so I put everything there and create another element to hold the actual title inside that original title element.
@rosenfeld you are right, seem work
This is now implemented in the dev branch.
Clicking on the div element will trigger the tree.click event. It will also select the node.
so effective, thanks
only the tree title(the content) and little icon can click, how to make the tag that contain tree title to clickable