I have a grid with a list of persons.
When I edit one person with a popup Edit, I want to have a grid in the popup, where i can add/edit/delete the company's the person is member of.
You can either use FormTemplate or UserControl to customize the controls shown in editform. Add the second grid in FormTemplate/UserControl and use the AutoMaticOperations to insert/update/delete records.