I have the following data. I want to create a dialog box which will show different type of games available in game column and it will give option to user to select the tyoe of each game. Once user has selected type for each game and click ok then it should update the orignal table with new column added having game type for each game. Also, if possible game that user has selected for a particular game type, that game should hide from the list of games in the dialog box, to avoid duplication.
Below is my orginal and final table. Interactive dialog box should look like as in attached image where user can drag and drop the game choices available to the respective game type. Ok button should only activate once all the games are selected.
Please help me create .jsl script for the same.
orignal Table:
| Name | Game |
| A | Football |
| A | chess |
| A | Badminton |
| B | Football |
| C | Chess |
| B | Table Tennis |
| D | Nothing |
Final Table:
| Name | Game | Game Type |
| A | Football | outdoor |
| A | Chess | indoor |
| A | Badminton | indoor |
| B | Football | outdoor |
| C | Chess | indoor |
| B | Table Tennis | indoor |
| D | nothing | Not Applicable |
Thanks 
