Add data to Table From Screen Controller

Hello
I want to create screen with table. Data for it I want to get from some REST API. So, How it possible to set Data to TABLE element from controller?
I didn’t find any examples in Documentation =(

Sorry if my question is stupid =)

You can use Key-Value Container for Table.
Fill contayner from REST API in code.

Or create DTO entity for show data from REST API, define CollectionContainer in descriptor and use for Table. And fill CollectionContainer in controller from REST API.

1 Like

The links are 404 ;/ = outdated ?

Recently, the documentation for Jmix version 1.x and version 2.x has been split and some links may not be available.

CollectionContainer (v1.5):: Jmix Documentation

Key-Value Containers (v 1.5) :: Jmix Documentation