Best way for visual editing of relational data

Let’s say, that I have an invoice, that has items in standard 1-to-n relation. I have implemented entire CRUD for invoice model itself. Now, I want to add to update view the simplest visual solution for adding, editing and deleting invoice’s items.

Is there any core solution or widget, that I can use for such quick & easy editing of relational data?