編輯

共用方式為


TabStateChange event (Client API reference)

This event occurs when the DisplayState of the tab changes due to user interaction or when the setDisplayState method is applied in code.

Use this event when you want to change the src property of an IFRAME within the tab. If you set the IFrame.src property in the OnLoad event for an IFRAME within a collapsed tab, the value will be overwritten when the tab is expanded.

Use the addTabStateChange method to add event handlers for this event and the removeTabStateChange method to remove them.

Events (Client API reference)
Events in forms and grids in model-driven apps