EasyUI Forum
December 21, 2025, 10:39:46 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: Preloading Tabs in background?  (Read 9536 times)
Stefan B.
Full Member
***
Posts: 152


Software Architekt


View Profile Email
« on: June 30, 2014, 01:57:11 AM »

Hello, I have a little question.
Is it possible to preload tab pages in background?
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: June 30, 2014, 02:41:01 AM »

If you set 'href' property for a tab panel, it does not load its content until this panel is selected. To load the content of a hidden tab panel, please call 'refresh' method manually on this panel.
Code:
var p =$('#tt').tabs('getTab', index);
p.panel('refresh');
Logged
Stefan B.
Full Member
***
Posts: 152


Software Architekt


View Profile Email
« Reply #2 on: June 30, 2014, 03:02:21 AM »

THX. This is working fine
Logged
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!