Hi,

I have a list of records in a tree panel ExtJS4.
I can delete a record through delete button below the treepanel. After the delete service is sent to the server, refreshed data is collected in treestore of the treepanel. But when I load the store through Ext.applyand then refresh the view of the treepanel, then too the tree is not refreshed, i.e. I can still see the deleted record.
The record gets removed from the panel when I re-login into the application, ie. tree is not getting refreshed.

Please find below code (I have tried all the below codes but the screen is not getting refreshed):

Ext.apply(plansPanel.getStore(), store);

Ext.apply(plansPanel, {
store: store
});

plansPanel.render();

plansPanel.getRootNode().collapse();
plansPanel.getRootNode().expand();

plansPanel.view.refresh();
plansPanel.view.render();

plansPanel.getView().refresh();
plansPanel.getView().render();

plansPanel.render();

plansPanel.getRootNode().collapse();
plansPanel.getRootNode().expand();

plansPanel.render();


Help appreciated.

Thanks,
Shweta