EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
October 10, 2024, 10:19:27 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
>
General Discussion
>
how to show progress while execute codes?
Pages: [
1
]
« previous
next »
Print
Author
Topic: how to show progress while execute codes? (Read 6711 times)
iskandarkbr
Newbie
Posts: 36
how to show progress while execute codes?
«
on:
November 28, 2017, 08:38:41 PM »
how to make a $.messnger.progress show while execute a group of codes?
i try it, but $.messenger.progress show after all codes execute
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: how to show progress while execute codes?
«
Reply #1 on:
November 29, 2017, 05:02:12 PM »
You can't block a message dialog since it works in async mode.
Logged
iskandarkbr
Newbie
Posts: 36
Re: how to show progress while execute codes?
«
Reply #2 on:
November 29, 2017, 08:31:20 PM »
so, it cann't be make as sync mode, can it?
or can i insert a function in message.progress? whould you give me example using $.messeger.progress?
Logged
iskandarkbr
Newbie
Posts: 36
Re: how to show progress while execute codes?
«
Reply #3 on:
November 30, 2017, 12:37:20 AM »
i tried to do this :
$.messager.progress({
title:'Proses',
msg:'Searching...'
});
settimeout(function() {
//codes while messager showing
//........
//........
$.messager.progress('close');
}, 1000);
Is it true either logic?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: how to show progress while execute codes?
«
Reply #4 on:
November 30, 2017, 09:05:36 AM »
The progress message dialog will always display on screen until you call the 'close' method to close it.
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...