Inserting API in TrashIcon in datatable

Is it possible to insert API in TrashIcon?
image

Hi @Roie,

Could you share more on your use case? What kind of API call do you mean, and when should it be made?

Hi @IliaLazarevskii ,

Im using Power Automate for my API.
I want to run my API once trashicon is clicked.

Up post up post up post up

Hi @Roie,

You can make an API call as described in this article.

There is no separate event for deleting an item from DataTable. Try using the change event like so:

fd.control('DataTable1').$on('remove', function(e) {
    // call fetch()
});