I am looking for existing solutions to a user interface problem. My users have the ability to search in a list of items. The items can be either single or composite items. In the search result the users can edit the composite items in place. When they edit the composite items they may need to search again, this produces a problem since they are already in the searchresult.
My current thought is to pin the currently edited composite item on top of the search result.
Are there any existing solutions to this problem?
Illustration of the problem:

The users needs to change amount Amount1, Amount2 and so on. When the users change AmountS1 they will need to do another search. The problem is how to retain the Composite Item and still allow the search.