PDA

View Full Version : Adding refresh 'icon'/button to tab panel



silcreval
3 Apr 2011, 10:34 AM
I have a tree inside a tab panel - and the tree contents is obtained via an AJAX call.

This works great, but I'd like to have a manual 'refresh' so that the user can refresh
the tree from time to time. The data on the server can change, although its a relatively
slow change so I dont want to keep polling.

I'm just wondering where to add a button. The tree is inside a tabpanel - I'm wondering
if I can add a button to the tab panel in some way?

mankz
3 Apr 2011, 10:39 AM
Just add a tbar config to your treepanel.