Thanks for your quick reply, @CNT.
I have built everything so that you can create leave requests in powerapps, they are then saved in sharepoint and on the home page of the app all created requests are displayed. I also built in that the requests have to be approved first.
Now I want that when a request is rejected, the USer can decide to "delete" it. But for privacy reasons, the entry must not be deleted from sharepoint, but only disappear for the user, or in other words, it should hide. Important: In sharepoint the rejected request must still remain.
I have done it so far, that if you click on the trash icon of the respective request, a popup opens and says "Do you really want to hide the entry". After you click on the yes button the entry should hide itself.
Is it possible to define somewhere that the selected item should simply disappear when you click on the "Hide" button?
Thanks in advance