How to add multiple items at a time module and sub panel?

One of the form i want to multiple items at a time. Like quote line items.
In same time i want to add multiple items in sub panel quick create button .
Both place i want to bring multiple items line entry in detailview page and editview page.
Please suggest for this solution.