Title: Programmatically close $.messager.show Post by: Kevin on June 06, 2016, 08:34:49 AM Hi Guys
Is there a way to close the $.messager.show message? I have a function that loads a variable amount of data. Sometimes large amounts of data and sometimes really small amounts. I have a message that tells the user that the system is busy loading the data but when this data is small, the datagrid will populate quickly. Problem is that the message remains visible for a couple more seconds and users feel they need to wait for this to clear before they can do anything on the system. I want to use the 'onLoadSuccess' event of the datagrid to close the message. Title: Re: Programmatically close $.messager.show Post by: jarry on June 06, 2016, 06:30:35 PM Please call 'close' method to close a message window.
Code: dlg = $.messager.show({ Title: Re: Programmatically close $.messager.show Post by: Kevin on June 08, 2016, 10:11:48 AM Thanks Jarry for you help, it works great. You are a true master.
|