EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 14, 2024, 12:57:06 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
hide speficed tabs.
Pages: [
1
]
« previous
next »
Print
Author
Topic: hide speficed tabs. (Read 8373 times)
Opan Mustopah
Full Member
Posts: 164
Indonesia
hide speficed tabs.
«
on:
May 08, 2015, 10:48:39 PM »
hello again..
just to the point.
is it possible to hide specified tabs? in the docs, there is only hideHeaders method that hide all tabs.
thanks in advance
Logged
-- Bajak Otak --
*** Sorry for my bad english :3 ***
--JeasyUI version 1.4--
stworthy
Administrator
Hero Member
Posts: 3581
Re: hide speficed tabs.
«
Reply #1 on:
May 09, 2015, 12:28:51 AM »
Once you get the specified tab panel, you can call 'close' method to hide this panel. The code below shows how to achieve this functionality.
Code:
var p = $('#tt').tabs('getTab', 1);
p.panel('options').tab.hide();
p.panel('close');
Logged
Opan Mustopah
Full Member
Posts: 164
Indonesia
Re: hide speficed tabs.
«
Reply #2 on:
May 09, 2015, 02:29:13 AM »
thanks stworthy for your fast response. it works
Logged
-- Bajak Otak --
*** Sorry for my bad english :3 ***
--JeasyUI version 1.4--
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...