cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable clickable event on tree parent node?

SOLVED
Gravel

How to disable clickable event on tree parent node?

Hi Team,

How to disable clickable event on tree parent node?

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to disable clickable event on tree parent node?

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 6

Re: How to disable clickable event on tree parent node?

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.

Re: How to disable clickable event on tree parent node?

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

Re: How to disable clickable event on tree parent node?

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

Is any way we can do it by code?

Re: How to disable clickable event on tree parent node?

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.

Re: How to disable clickable event on tree parent node?

Thanks for advice.

Re: How to disable clickable event on tree parent node?

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.