I'd like to choose what properties of "Contatto" to show in the list view of "Recapito", instead of just the "nome" property. I couldn't find that in the docs (almost sure my fault, but that's it...).
How do I choose what properties to show in the list view?
Here is my "Recapito" entity code, and the attached image shows how it renders by default:
I'd like to choose what properties of "Contatto" to show in the list view of "Recapito", instead of just the "nome" property. I couldn't find that in the docs (almost sure my fault, but that's it...).
How do I choose what properties to show in the list view?
Hi Lucio,
You can use @Tab annotation for that. @Tab allows you to use qualified properties until infinite level.
Note the contatto.nome.
Moreover, you user can add any property he want, including property from Contatto in Recapito, using the customization options of the list.
Look a this to learn more about @Tab:
https://openxava.org/OpenXavaDoc/docs/tab_en.html
Help others in this forum as I help you.
Hi Lucio:
I add your question and answer in StackOverflow, so it would be easy to find with Google:
https://stackoverflow.com/questions/67217369/how-do-i-choose-what-properties-to-show-in-the-list-view-with-openxava/
Also in Spanish:
https://es.stackoverflow.com/questions/446338/c%C3%B3mo-escoger-que-propiedades-mostrar-en-modo-lista-con-openxava/
You can vote for the question and the answer if it was useful for you.