PDA

View Full Version : Carousel and Store



anthony-apd
16 Jul 2010, 8:59 PM
I am trying to figure out the best way to wire up a data store to a carousel.
Does anyone have a sample already wired up for this? Or am I forced to resort to using a DataView and a Carousel to accomplish this?

evant
18 Jul 2010, 4:24 PM
You can't directly hook up a store to a carousel, so you should use a template on each item in the carousel, then just apply the data from the appropriate record.

angelrand
23 Jul 2010, 5:13 PM
How to implement this?
i set up a carousel and a jsonstore to get things like{url:"",title:""},and i init a template
but it doesn't work
i'm newbie, and just can use these items seperetely
can i got an example code?

nosarious
24 Jul 2010, 2:34 PM
Visit the examples from the main demo page for Sencha and wade through the different ones to find out what is similar. You can also download the archive and go through the all of the files used in the demo to see how they all work.