Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
I want to add a "Button" in the specific column of a "Grid" for every row.
Also that button should be toggle button (That is if that button has text 'On' & after click text should changed to 'Off' and vise-versa).
How do I achieve this functionality?
I am using Thingworx version 6.0 .
Thanks & Regards,
Rupesh
Hi Rupesh,
You can't with Grid Widget, if you want to have this kind of interaction you should use Repeater Widget instead.
Carles.
Hi Carles,
Thanks for your reply !
Can we add check box in the grid instead of button?
If yes, how ?
And how can I handle particular functionality on the check/uncheck event of check box?
Thanks,
Rupesh
Hi Rupesh, again use Repeater Widget to do this kind of interaction.
Hi Carles,
I saw "How to use Repeater Widget" video from thingworx community.
But did not get how do I apply that Repeater Widget in my scenario.
My task is to add "Checkbox" in the last two columns(Morning & Evening) of grid, as shown in the above image.
And if user check or uncheck from Checkbox, I have to handle some functionality.
So how do I achieve this using "Repeater Widget"?
Thanks,
Rupesh
You should build a "RowMashup" which has the desired columns: Label + Label + Checkbox + Checkbox and use this row mashup onto the Repeater Widget, then on this RowMashup you can do event subscriptions and so to trigger actions.
Thanks Carles !
Buttons in a grid column feature has been submitted as an enhancement request, PSPT-3236.
Thanks Polina