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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Binding widget according to my expression

fmanniti
9-Granite

Binding widget according to my expression

Is it possible to bind a widget to a service according to a certain expression?
For exampleI have a boolean:

if myBool = true

bind grid to serviceA

else

bind grid to serviceB

1 ACCEPTED SOLUTION

Accepted Solutions

Hi Fabio,

Not this way. But you can:

  • If you want exactly the same grid configuration ( same columns,... ): Have a service which calls ServiceA or ServiceB depending on myBool value as a parameterS
  • If grids should be different: Have two grids, and show/hide one or the other depending on the myBool

Best Regards,

View solution in original post

2 REPLIES 2

Hi Fabio,

Not this way. But you can:

  • If you want exactly the same grid configuration ( same columns,... ): Have a service which calls ServiceA or ServiceB depending on myBool value as a parameterS
  • If grids should be different: Have two grids, and show/hide one or the other depending on the myBool

Best Regards,

First solution works fine. Thank you

Top Tags