This is a migrated thread and some comments may be shown as answers.

Adding Dynamic items when used as form

0 Answers 52 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 11 Sep 2012, 01:02 PM
HI,
    I'm using the listview to act as a form in the same way you have in your demo's. I would like to be able to add some items dynamically to the end of the listview based on some code logic. Because this is not using a datasource as all the common items are declared in html code at designtime, how would I go about adding the extra non common items to listview.items() at runtime. 

Or I could use a dataSource but then how can I specify what template each item should have when they would not all want the same template.

Thanks 

No answers yet. Maybe you can help?

Tags
ListView (Mobile)
Asked by
Paul
Top achievements
Rank 1
Share this question
or