Question

I want to render dynatree node with several checkboxes and select any, but when I click on checkbox, happens click on row, how can I disable click on row and enable clicking on elements, located in node?

Was it helpful?

Solution

It is simple. Use from server noLink: true(node title will be span, not a) and don't remove e.preventDefault, because

Make sure that clicks stop, otherwise <a href='#'> jumps to the top

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top