EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 08, 2024, 08:49:54 PM
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
>
Delay Ajax Loading?
Pages: [
1
]
« previous
next »
Print
Author
Topic: Delay Ajax Loading? (Read 10616 times)
tslatt
Jr. Member
Posts: 85
Delay Ajax Loading?
«
on:
November 14, 2011, 07:48:48 AM »
When the content of a panel is loaded by ajax with the "href" property, is it possible to delay the load until it is triggered by an event?
I'm using the portal layout. Each panel within the portal contains lots of data. Loading a portal with 20 widgets is like loading 20 pages of data at once. It can take a long time -- long enough for alert boxes to appear asking me if I want the script to continue. To fix this, I would like to load all panels within the portal collapsed and EMPTY to begin with. Then, only when a panel is expanded or maximized, would the content be loaded via ajax.
Can you tell me if this is possible, and how it could be implemented? Any help would be greatly appreciated.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Delay Ajax Loading?
«
Reply #1 on:
November 14, 2011, 06:44:23 PM »
The panel load its content via 'href' only when the panel is opened or expanded. Set 'closed' property to true or 'collapsed' property to true to prevent the content from loading at once.
Logged
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...