Question: Context
=======

I'm working on very complex enterprise solution. We have this table that shows list of let's call them contracts. Every contract (row) can contain one or more customers (and one or more products).

Problem
=======

I need to think of these use cases:
1. People want to copy & paste customer IDs.  

2. People should be able to remove all the customers at once.  

3. People should still have an overview what customers were selected.  

4. People should be able to browse customers and pick those they want to.  

(Since we are in the able the solution needs to be compact)

My proposal
===========

[![My solution](https://i.stack.imgur.com/HLqCS.png)](https://i.stack.imgur.com/HLqCS.png)  

- Clicking on the "CD-0005" would trigger the browse window  

- **Missing** copy & paste functionality

[![enter image description here](https://i.stack.imgur.com/vctwb.png)](https://i.stack.imgur.com/vctwb.png)  

- Looks super ugly  

- Hard to provide overview on all the items (having tooltip on input hover is somehow strange)

**What do you think? How can this problem be solved?**

Answer: 
1. You can add a copy link in front of each customer ID on hover.

[![enter image description here](https://i.stack.imgur.com/LMt7G.jpg)](https://i.stack.imgur.com/LMt7G.jpg)

2. Add filters on table headers
3. Highlight the selected rows or make customer ID a badge when selected
4. Making customer ID badge would make it easier to identify the ones needed and switch between states.

I loved how "Clear Move" handle the tables. You can use it as inspiration.
[![enter image description here](https://i.stack.imgur.com/zmTlD.jpg)](https://i.stack.imgur.com/zmTlD.jpg)
Why don't you add a context menu (invoked by right mouse click) containing "Copy" and "Copy all" items?

To know which customer ID you are about to copy a hover (on mouse over above each ID) helps. 

The balloon closes on mouse out event.

It can be programmatically challenging to add a context menu on a balloon but once you get over it, the ease of use compensates for your effort.