jQWidgets Forums

jQuery UI Widgets Forums Navigation Tree Preventing Checkboxes from being toggled in tree

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 12 years, 8 months ago.

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

  • desterly
    Member

    There was another question relating to disabling checkboxes on some items but I’m more interested in disabling all checkboxes / line items making the tree a static view.

    Basically what I’m attempting to do is create a snapshot view to present to the user but make all inputs disabled.

    I attempted to set the “locked” property on the checkboxes and the tree lines however this doesn’t seem to function (locking the checkbox doesn’t prevent it from being toggled and locking the tree lines prevents them from expanding).

    As the other post mentioned, setting the items as disabled simply grays the items out but still allows the checkboxes to be clicked.

    Is it possible to make the treeview (and checkboxes) totally disabled for user interaction?

    Thank you


    Peter Stoev
    Keymaster

    Hi desterly,

    Unfortunately, the requested functionality is currently not supported. You can’t disable a checkbox or all checkboxes. You can only show or hide all checkboxes by using the checkboxes property of jqxTree.

    Best Regards,
    Peter Stoev

    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.