Title: Panel Tools are Sometimes Added, Sometimes Not Post by: tslatt on February 06, 2012, 03:23:00 PM I'm using the panel's "tools" property to add a "reload" button to each panel to refresh that panel's ajax content. My panels are placed in a staging area div and then moved into a portal when the portal is initialized.
If there is only one panel in the portal that has a "reload" button, so far it seems to work ok. However, I have an example that has three panels and each has a reload button. Each time the portal loads, only two out of three of the panels have the "reload" button -- and not always the same two! Here's how I create my three panels and their tools: Code: <div id="w001" class="easyui-panel pdiv" title="Test Tables" collapsible="true" closable="true" maximizable="true" closed="true" collapsed="true" href="test-tables.asp" tools="#w001tools"></div> Does anyone have any idea what could be causing this? Having a reload button on a panel is pretty important when you have ajax content, so just that panel can be reloaded when needed without having to reload everything else. |