Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hello ,
I have a scenario where i need to append the text to textarea widget based on the click events on the grid row and the list row.
You could try creating a custom service that would take the input as the current content of your textarea widget, then add another string to it.
Hello Polina,
Yes i did that but seems like i am missing something, i am not able to get it. Below is the screen shot.
Use the expression widget, this way you will reduce network traffic. It should have to inputs, one from the text area text attribute (call it input1) and one for the text you want to append (input2). The output should be a string and the exprerssion should be Output = input1 + input2, which should be bound to the text area text attribute. Evaluate the expression on the clicked event.
James,
Yes i have used expression widget but the output is not getting with concatenated string. If i use separate text control insted of selected row of a grid, it works fine. But when i try with a selected row of a grid as per below i get undefined as the output.
is it that i am not getting the selected row properly. below is the grid bindings
Also just to add up, i tried with a Basic Grid widget, It worked. But i have used Advanced Grid,same mapping doesn't work. so am i missing something..??