Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
I have a grid and I need the selected row to be highlighted with the press of a button and then un-highlighted with the press of a button. Basically I need
Below I have my mashup (snippet1) and my ack/unack service right below.
Solved! Go to Solution.
Hi @Chao123.
You could use the Validator function (used to be a widget but in the current releases is located in the lower right corner of the Mashup builder). It can be used to evaluate the Ack field on your grid. The Validator outputs a true or false depending on the logic in your script, which you can then bind to the Disable property for your button in order to set it appropriately.
Regards.
--Sharon
Hi @Chao123.
You could use the Validator function (used to be a widget but in the current releases is located in the lower right corner of the Mashup builder). It can be used to evaluate the Ack field on your grid. The Validator outputs a true or false depending on the logic in your script, which you can then bind to the Disable property for your button in order to set it appropriately.
Regards.
--Sharon
I created two services ack and unack. Ack will highlight grid row when pressed and changes the format of the rows and unack will un-highlight and change format back to original grid view. I used the updatedatatableentry snippet for both to help me achieve this. Thanks!