Use event structure to detect the mouse down event.
When mouse down on the table, move the pulldown menu to the cursor position, and make it visible.
Use the event structure to detect pulldown menu value change event.
When value change event occur, copy the value to the table cell.