EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 10:09:59 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
>
tree node expansion load time
Pages: [
1
]
« previous
next »
Print
Author
Topic: tree node expansion load time (Read 3740 times)
sectioni
Jr. Member
Posts: 67
tree node expansion load time
«
on:
October 23, 2017, 02:56:49 AM »
Hi,
I would like to replace the arrow icon next to a node when expanding it, with an animated "loading" circle or at least a "sand-clock" icon if the loading process is taking more than 1 second. (and of course remove it after data has returned from server)
How can I do that?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: tree node expansion load time
«
Reply #1 on:
October 23, 2017, 06:26:59 PM »
Please override the .tree-loading CSS class.
Code:
.tree-loading {
background: ...
}
Logged
sectioni
Jr. Member
Posts: 67
Re: tree node expansion load time
«
Reply #2 on:
October 25, 2017, 02:13:16 AM »
EasyUI isn't adding this class to the tree.
I am loading the tree's data manually with the 'data' property after I do my own ajax request...
I will implement something myself using the onBeforeExpand event
«
Last Edit: October 25, 2017, 02:15:44 AM by sectioni
»
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...