Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    Oct 2012
    Posts
    2
    Vote Rating
    0
    daris.savarino@gmail.com is on a distinguished road

      0  

    Default touch-charts-2.0.0-beta - TreeStore [BUG]

    touch-charts-2.0.0-beta - TreeStore [BUG]


    Using Sencha Touch 2.0.1.1 with touch-charts-2.0.0-beta package
    I found the following bug in the Ext.data.TreeStore object :
    in an attempt to insert a new child node, the new node is correctly inserted under the parent node
    but is replicated under the root node.
    Here is the sample code:

    Ext.define ('ListItem', {
    extend: 'Ext.data.Model',
    config: {
    fields: ['text']
    }
    });
    var data = {id: 'root', items: [{id: 'x1', text: 'Item1'},
    {id: 'x2', text: 'Item2'},
    {id: 'x3', text: 'Item3'}]};
    var treeStore = Ext.create ('Ext.data.TreeStore', {
    model: 'ListItem',
    defaultRootProperty: 'items',
    root: data
    });
    ...
    treeStore.getRoot (). findChild ('id', 'x1', false)
    .appendChild ({text: 'SubItem1', leaf: true});

    The new 'SubItem1' node is correctly entered under the 'Item1' node but is incorrectly replicated under the 'root' node

    Thanks in advance.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,756
    Vote Rating
    828
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Have you tried this in a later release?

    Also, Touch Charts 2 beta is really deprecated in favor of the rewrite in Sencha Touch 2.1.0 b1/2/3
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Oct 2012
    Posts
    2
    Vote Rating
    0
    daris.savarino@gmail.com is on a distinguished road

      0  

    Default


    With the "Sencha Touch 2.1.0 b3", the problem does not occur,
    but I wanted to delay the release upgrade.
    Thanks anyway!

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi