EasyUI Forum
October 19, 2025, 05:27:29 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: tab onBeforeOpen documentation is missing [SOLVED]  (Read 9629 times)
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« on: December 01, 2015, 03:01:46 AM »

I found there are none documentation for tab method onBeforeOpen.

Thank you
« Last Edit: February 03, 2016, 09:53:03 PM by aswzen » Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: December 01, 2015, 07:31:16 AM »

The 'onBeforeOpen' is the event of panel. You can declare it on any tab panels.
Code:
<div class="easyui-tabs" style="width:700px;height:250px">
    <div title="About" style="padding:10px">
    </div>
    <div title="My Documents" style="padding:10px" data-options="
            onBeforeOpen: function(){
                alert('before open My Documents');
            }
            ">
    </div>
    <div title="Help" closable="true" style="padding:10px">
    </div>
</div>
Logged
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« Reply #2 on: December 01, 2015, 07:22:56 PM »

okay thankyou Smiley
Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!