Skip to main content
10-Marble
May 16, 2017
Solved

How to disable clickable event on tree parent node?

  • May 16, 2017
  • 6 replies
  • 2065 views

Hi Team,

How to disable clickable event on tree parent node?

Here PlantArea1, PlantArea2, PlantArea3 need to make disable clickable ? Rest Asset are clickable.

    Best answer by CarlesColl

    There's no Out-Of-The-Box feature for this, but just don't do nothing on the binded service when the Node it's not the desired one.

    6 replies

    1-Visitor
    May 16, 2017

    There's no Out-Of-The-Box feature for this, but just don't do nothing on the binded service when the Node it's not the desired one.

    1-Visitor
    May 16, 2017

    You can add a Validator Widget, which receives SelectedRow parameter which indicates if it's a Clickable Node or not, then you just need to return on Validator Widget the SelectedRow value and use True event from Validator Widget as Click event for the tree.

    bgupta-210-MarbleAuthor
    10-Marble
    May 16, 2017

    Thanks for advice.

    20-Turquoise
    May 16, 2017

    Could you please clarify the problem description/provide the use case?

    bgupta-210-MarbleAuthor
    10-Marble
    May 16, 2017

    I need to avoid clickable event on selected PlantArea1, PlantArea2,PlantArea3.

    Is any way we can do it by code?

    20-Turquoise
    May 16, 2017

    It is not possible. You may do what Carles Coll​ suggested above on an empty service. Or you may look into custom extensibility/tailoring the widget to your taste through development.