5 Aug 2012 9:42 PM #1
Unanswered: Refresh a TreePanel after deleting a row
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().
5 Aug 2012 11:38 PM #2
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.
6 Aug 2012 12:22 AM #3
Thanks for the reply but I have already tried the code you provided.
Even it is also not working.
6 Aug 2012 6:28 AM #4
just reload your store
6 Aug 2012 8:20 PM #5