[BUG] XTemplate ComponentView renders components twice.

  1. #1

    [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

    //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

    Click image for larger version. 

Name:	duplicated_buttons.png 
Views:	7 
Size:	2.3 KB 
ID:	7431
    Last edited by cankut; Dec 30, 2013 at 10:00 AM.

Similar Threads

  1. [CLOSED] CellEditing Listeners and Column Renders
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: Nov 05, 2013, 2:01 PM
  2. DataView with ComponentView - Form bind
    By infotex in forum 2.x Help
    Replies: 3
    Last Post: Apr 29, 2013, 6:33 AM
  3. Replies: 2
    Last Post: Mar 27, 2012, 11:57 AM
  4. Replies: 9
    Last Post: Mar 24, 2010, 1:01 PM
  5. [CLOSED] Combobox renders value as text
    By jchau in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Aug 24, 2009, 4:41 PM

Tags for this Thread

Posting Permissions