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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

How to disable clickable event on tree parent node?

bgupta-2
9-Granite

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

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.

View solution in original post

6 REPLIES 6

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.

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.

Thanks for advice.

posipova
20-Turquoise
(To:bgupta-2)

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

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

Is any way we can do it by code?

posipova
20-Turquoise
(To:bgupta-2)

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.

Top Tags