Hi,
we have a problem with excel export with nested DataContainers.
In our example there is a Customer that has many orders (composition). In CustomerEdit the orders are displayed as table and we have an excel export here.
excel-demo.zip (96.4 KB)
The user opens a customer and clicks on the export button in the order table. Then he selects “All rows” and get this
error: “RuntimeException: Cannot export all rows. Data loader must be an instance of CollectionLoader.”
This makes sense since the orders are a nested DataContainer. In this example all order are loaded, so the option “current page” would be ok, but I cannot hide “All rows”.
I could create a new collection data container or the orders and set the parentDataContext when editing an order. But this does not feel right.
Do you have any ideas?
Thanks,
Joerg