PDA

View Full Version : [FIXED] [PR1] Creating an empty Ext.Carousel throws errors



SunboX
27 Oct 2011, 6:28 AM
I want to define an empty carousel in the options and fill it later with items (this.down('carousel').add({ ...})). That doesn´t work.

greetings Sunny

SunboX
28 Oct 2011, 4:29 AM
Ext.Carousel.removeAll() throws also errors

Jamie Avins
31 Oct 2011, 12:22 PM
Thank you for the report.

oddz
5 Nov 2011, 10:28 AM
Anyone have a work around for this for the time being?

SunboX
5 Nov 2011, 10:33 AM
Create an Carousel with an named Panel { xtype: 'panel', name: 'bugfix' } and remove it, after you added other items. And add it again, if you want to remove items.

oddz
5 Nov 2011, 10:59 AM
Yeah, seems like the best method is to destroy the carousel when it exists and recreate it with the new items.

Jamie Avins
8 Nov 2011, 11:04 AM
This has been fixed and will be part of the next release.