Equivalent of v6 custom datasource in v7

Hi there.

How do I go about creating a custom datasource equivalent in v7

What’s the recommended process using loaders/containers?

Okay, I think I see how this works:

https://doc.cuba-platform.com/manual-latest/gui_data_loaders.html

I need to use setDelegate on the loader to populate the container with my custom entity.

1 Like

Or you can do without a loader at all, just setItems() or getMutableItems().add() on the data container.

That’s a good point. I’d assumed a container had to have a loader.