Hi,
I have one block where I call the API, and then that data from the API is showed in grid which is placed in different block.
above is the image of my screen... where the GET button in left pane is fetching the data and showing that data in right pane grid.
Now, when I click that get button again, the data is appended again, I want whenever the Get button is clicked, the screen restored to its start version.
Hi Keshav,
Add an input parameter to the block where u r displaying data and also add OnParameters change action in this block. Whenever u click the GET button make sure update/toggle the value this input parameter. This way u can refresh the block data everytime via the OnParameters change action.
Hope u understand what I am trying to say, if u want me to implement this for u please share ur OAP.
Thanks AWL!
Thanks it worked.
On top of what @Ashish Lonkar said, there's still something missing, I will list what you need in the below
Then you will have a block re-render every time the input parameters change.
Hope this help.
Thanks for brief explanation. It worked.
https://www.outsystems.com/forums/discussion/88029/is-there-any-way-of-load-unload-different-blocks-on-same-screen/
Highly appreciated if you can help me out in this.
hi @Keshav Raghav
can you please provide some more detail exactly what you want.
is data repeated ? that's the problem
or you want to refresh block?
little bit clearance so I can help you.