I have a datagrid of people and when you click on a person it popluates the form below with all their details.
This works fine for most details, but person A might have one phone number, and one email address, then when I click on Person B in the datagrid and they have two phone numbers and three email address I need to somehow change the number of fields in the view for the extra objects. And then change it back it the next person has only one email or phone etc.
Can anyone point me in the right direction as to how I can acheive this.
You can use a Repeater in an itemRenderer that will create as many objects as necessary depending on the data:
If this post answered your question or helped, please mark it as such.