EasyUI Forum

General Category => General Discussion => Topic started by: Jonny on March 25, 2016, 04:15:43 AM



Title: How to change Title , Message in progress Bar ?
Post by: Jonny on March 25, 2016, 04:15:43 AM
Dear Sir/Madam,

       Could you please teach me how to set (change) Title / Message in progress bar?

Below is working good's technic:
$.messager.progress({ title: 'Updating:', msg: 'Data:', interval: 0 });
var bar = $.messager.progress('bar');   
bar.progressbar('setValue',  100);

Then I imitate the above technic:
var tit = $.messager.progress('title');    // get the progressbar object
var msg = $.messager.progress('msg');    // get the progressbar object
tit.progressbar('setValue',  'Updating hardly:');
msg.progressbar('setValue',  'Data: on the go bla bla');


Please help me correct the command/syntax in red color which were error at all...
Thank you..


Regards,
JONNY








         
           


Title: Re: How to change Title , Message in progress Bar ?
Post by: jarry on March 25, 2016, 09:19:32 AM
Please try this:
Code:
var win = $.messager.progress({
title:'Please waiting',
msg:'Loading data...'
});
win.dialog('setTitle','Updating hardly:');
win.find('.messager-p-msg').html('Data: on the go bla bla');


Title: Re: How to change Title , Message in progress Bar ? Solved !!
Post by: Jonny on March 25, 2016, 10:30:31 AM
Thank you very much Sir,

          Your guidance really working perfectly ! :o

So Happy get helped again  :D  :D  :D 


Regards,
Jonny