Skip to main content
10-Marble
August 7, 2020
Solved

Toggle button's NOT PRESSED Binding.

  • August 7, 2020
  • 1 reply
  • 2030 views

With two toggle button in a grid, applying a NOT PRESSED binding to both toggle buttons within them. if we press one of the buttons, the other should appear unpressed. This particular NOT PRESSED binding is not unpressing the other button in the preview and published output also.

Best answer by vinaykotti

hi ,

Thank you for quick response.

Yes i need only one toggle button to pressed and other buttons to be unpressed, when i press any other toggle buttons.

and i think i got the solution also from one of the post, i have achieved it using java script here:

$scope.view.wdg['Button-1']['pressed']=false;

1 reply

17-Peridot
August 10, 2020

Hello Vinaykotti,

 

  • Do you have an example Project of the issue, please ?
  • If the answer is yes can you share it, please ?

 

if I understood well, we should have only one button radio pressed at the same time.

 

  • Is it a similar behavior as in the attached Project ?

 

Best regards,

Samuel

vinaykotti10-MarbleAuthorAnswer
10-Marble
August 11, 2020

hi ,

Thank you for quick response.

Yes i need only one toggle button to pressed and other buttons to be unpressed, when i press any other toggle buttons.

and i think i got the solution also from one of the post, i have achieved it using java script here:

$scope.view.wdg['Button-1']['pressed']=false;