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