In our application using Jmix 2.2.3 we found that the load delegate of the CollectionLoader
isn’t used to load the entities, when export the data grid with Export All.
We have a collection of DTOs that we load from an external service with this delegate. Without the delegate the export is always empty. Do you have any advise how we get the export to use the delegate?
The delegate is defined in the screen controller with
@Install(to = "dtoDl", target = Target.DATA_LOADER)
protected List<exampleDto> exampleDtosDlLoadDelegate(final LoadContext<exampleDto> someContext)
{
...
}
as described in Data Loaders :: Jmix Documentation.