Hi Sourav Roy,
To make the text component value refresh on passing prompts, you need to use the setText(); function again after passing the prompts. You can write this code in the data source on change.
But rather than passing the value by code, you can bind the values to the text value in the component by data binding option.
Let me know if you have any clarification in it.
Thanks,
Poovarasan
Hi Sourav Roy,
The place you have used will not possibly solve your requirement. You can write the code in the on result set change in data source property.
Then the value will update for every change in the value.
Thanks,
Poovarasan
Hello Poovarasan ,
Thanks for responding . I have tried both approached . Data Cell Binding and manually mapping the values using formula like this -
TEXT_8.setText("$"+INVTEXT.getData("00O2TNU9DGZ9LF03HKLY0JBZD", {}).formattedValue);
TEXT_3.setText(SALESTXT.getData("00O2TNU9DGZ9LDBIJMXDXVLPK", {}).formattedValue );
These formulas are kept in application startup as well as in the refresh onclick event script .
I think the Refresh button script has to be different ; Or the text fields need to be cleaned up first and then get populated again .
Let me know what I should do here.
Add comment