Hybrid View

  1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    23
    Answers
    1
    Vote Rating
    0
    shwetapro is on a distinguished road

      0  

    Default Unanswered: Refresh a TreePanel after deleting a row

    Unanswered: Refresh a TreePanel after deleting a row


    Hi,
    After the tree panel gets prepared and displayed on the screen, there is a Delete record button, which works fine (as when I ran the application again from login page, the deleted record is not shown).

    But after a record is deleted the treepanel doesnot get refresh even after store.load(), reload(), tree.view.refresh().

    Help appreciated.

    Thanks,
    Shweta

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Answers
    124
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    hi shweta,

    If you want to Refresh your tree panel, try this code -

    yourTreePanel.getView().refresh();
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Apr 2012
    Posts
    23
    Answers
    1
    Vote Rating
    0
    shwetapro is on a distinguished road

      0  

    Default


    Hi Sword,
    Thanks for the reply but I have already tried the code you provided.
    Even it is also not working.

    Thanks,
    Shweta

  4. #4
    Sencha User
    Join Date
    Jun 2012
    Posts
    9
    Vote Rating
    1
    joaquingt is on a distinguished road

      0  

    Default


    just reload your store

    Code:
    yourstore.load();

  5. #5
    Sencha User
    Join Date
    Apr 2012
    Posts
    23
    Answers
    1
    Vote Rating
    0
    shwetapro is on a distinguished road

      0  

    Default


    Hi JoaquingtThanks for replying.
    But i have used below code and it's not working.
    It says "
    TypeError: a is undefined

    "

    Code goes below:
    panel.getStore().load();

    Thanks,
    Shweta

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