Combine two entities into one data grid

Hi, I would like to combine two entities (TransferMaterial and MaterialLine) into one data grid. After that, we can click the Export to Excel to get the data from the two entities.  
1 answers


If you use MaterialLine entity in datagrid and show its values along with associated TransferMaterial, it is possible.

You cannot do this from TransferMaterial as TransferMaterial can have many MaterialLines as per your association.

You can also use the default ExcelExport button from datagrid, to export the columns shown.

If you want to export columns not shown in datagrid then you must use excel exporter module.