Hello,
I have a simple question but I just dont get it.
I am trying to get data in a grid. For example I have a entity “Person”. How do I get all persons in a grid within a view?
I tried it with the
documentation
but I was confused where they get the variable “persons” in this code snippet:
ListDataProvider<Person> dataProvider = DataProvider.ofCollection(persons);
Is there maybe a full example for dummys with all needed imports and classes (custom dataprovider, entity, view, service, etc.)?
Thank you for your help!