Dec 29, 2013, 5:41 PM
[BUG] XTemplate ComponentView renders components twice.
Hi,
I have an empty store for a DataView.
After adding first item to the store, it renders the first items components twice for the first time.
The consequent adds to store seems to work fine.
See example here:
https://examples2.ext.net/Examples/D...View/Overview/
open firebug or chrome console
I have an empty store for a DataView.
After adding first item to the store, it renders the first items components twice for the first time.
The consequent adds to store seems to work fine.
See example here:
https://examples2.ext.net/Examples/D...View/Overview/
open firebug or chrome console
//get data view for "Inject by Selector" example
dataView = Ext.getCmp("dataview-1013");
//get first item
firstItem = dataView.store.getAt(0);
//clear store
dataView.store.removeAll();
//add item to empty store. !!this is the buggy part!!
dataView.store.add(firstItem);
//add second item to store. this renders as expected. NOT buggy.
dataView.store.add(firstItem);
Duplicated Buttons Screenshot
Last edited by cankut; Dec 30, 2013 at 10:00 AM.