EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: korenanzo on March 07, 2016, 11:00:35 AM



Title: if not visible, tabs cannot select a tabpanel
Post by: korenanzo on March 07, 2016, 11:00:35 AM
I need to change  the selected tabpanel when the tab is hidden.

if I do

o.tabs("select",3)

when o is hidden, it doesn't work.

How can I resolve it?

Thanks,
RIc
RIc


Title: Re: if not visible, tabs cannot select a tabpanel
Post by: jarry on March 07, 2016, 08:46:53 PM
Selecting on a hidden tabs may cause layout issue. So please do it before making the tabs visible.
Code:
o.show();
o.tabs("select",3);
o.hide();