How to add a new row in a table from select dropdown fields on clicking an action button?

I need to update my table to fill fields from select dropdown on pressing an action button (say, Add Row). How can i do that?

Depending on the use case and where the data is stored it can be done multiple ways.

You can reference Creating an on row add query or Adding a row via a form document to see cases of implementation for this use case.