I have table with multiple row showing some informatio. In each row(last column) i kept a checkbox for updating each row. Whenever the user click on the checkbox few of the fields needs to be replaced with a dropdown with some values.

How can i achieve this?

Thanks