Skip to main content
1-Visitor
October 16, 2017
Question

Change property 2D WIDGET

  • October 16, 2017
  • 1 reply
  • 1640 views

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

fioreg1-VisitorAuthor
1-Visitor
October 16, 2017

i found the solution 🙂

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