문제

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?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top