Hi,
The inline grid is a special grid for a specific OOTB form so cannot add it to custom form. However you will be able to retrieve / transfer the product grid information from the invoice to custom entity using plug-ins.
Hope this helps.
-----------------------------------------------------------------------
Minal Dahiya
blog : http://minaldahiya.blogspot.com.au/
If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"