jQWidgets Forums

jQuery UI Widgets Forums Navigation Tree Unselect Tree Item

This topic contains 1 reply, has 2 voices, and was last updated by  ivailo 9 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • Unselect Tree Item #76663

    SumitRoy
    Participant

    Dear JQX team,

    how can I unselect a tree item programmatically ? Like the I can select it using
    // @param element (li tag)
    $(‘#jqxTree’).jqxTree(‘selectItem’, element);

    is there any unselectItem tag.

    Purpose : I dont want my user to select any treenode having children, i.e. only leaf node can be selected.

    kindly help me to solve my problem.

    Unselect Tree Item #76691

    ivailo
    Participant

    Hi SumitRoy,

    You can unselect item with $("#jqxTree").jqxTree('selectItem', null);.
    Here is a demo.

    Best Regards,
    Ivailo Ivanov

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.