PDA

View Full Version : items at run time



hemant1
23 Jun 2011, 12:49 AM
How can i add items in the Carousel at the run time.
Basically i m reading a xml file and in the xml file number of pages is not fixed so i want to create the items dynamically at the run time

can anyone provide me syntax for that?

thanks,

jmclem
23 Jun 2011, 4:02 AM
Hi,

go here: http://dev.sencha.com/deploy/touch/docs/
select Carousel in the list to the left
go to the 'methods' section
Expand the description for the first method (add)

this should do what you need

Jean-Marie.

hemant1
23 Jun 2011, 4:07 AM
Thanks for reply

can you provide me the example because still i m not very clear about it after reading the API