Title: how to show progress while execute codes? Post by: iskandarkbr 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 Title: Re: how to show progress while execute codes? Post by: stworthy on November 29, 2017, 05:02:12 PM You can't block a message dialog since it works in async mode.
Title: Re: how to show progress while execute codes? Post by: iskandarkbr 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? Title: Re: how to show progress while execute codes? Post by: iskandarkbr 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? Title: Re: how to show progress while execute codes? Post by: stworthy 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.
|