Filling Datagrid with no Entity classes

Hi,

I want use the Datagrid in order to show some lists of classes that doesn’t implements
com.haulmont.cuba.core.entity.Entity interface. Is it the right way or should I use something else?

Thanks

Hi,

Unfortunately, DataGrid is intended to work only with entities. Nevertheless, you can use non-persistent entities, i.e. you can convert your class to non-persistent entity and use it with DataGrid.

Regards,
Gleb