Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Translate the entire conversation x

Change property 2D WIDGET

fioreg
2-Explorer

Change property 2D WIDGET

How can I change the visible property of a 2d button through Javascript, without using application parameter but by changing the button properties directly?



  I Tried  this code  :


$scope.view.wdg['button-1']['visible']=true;

but don't function.

THNX to all



1 REPLY 1
fioreg
2-Explorer
(To:fioreg)

i found the solution 🙂

$scope.app.view['Home'].wdg['toggleButton-3'].visible="false";

Announcements
Top Tags