This topic contains 4 replies, has 2 voices, and was last updated by alexn 8 years, 3 months ago.
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.
jQuery UI Widgets › Forums › Dialogs and Notifications › Tooltip, Notification, Popover › jqxLoader will not reopen
Tagged: #jqwidgets-grid, grid, jqwidgets loader, jqxLoader, jqxLoader jqxGrid
This topic contains 4 replies, has 2 voices, and was last updated by alexn 8 years, 3 months ago.
Hi, is it possible to reopen a jqxLoader with a new configuration?
To open each time, I’d like to either:
(A) re-initialize with autoOpen: $(‘#jqxLoader’).jqxLoader({ autoOpen:true, … })
(B) or, use the open method like this: $(‘#jqxLoader’).jqxLoader(‘open’, {…new configuration…})
Is it possible?
Here’s a demo of my attempt: https://plnkr.co/edit/3gGh3QpegYW1EiGc0jvO?p=preview
Hello alexn,
Please, take a look at this tutorial.
You could use autoOpen
depends on the case – as in this case.
Best Regards,
Hristo Hristov
jQWidgets team
http://www.jqwidgets.com
Thank you. I did read the tutorial, but it doesn’t explain how to reuse the loader for different content.
For example. I may want it to come up with different messages at different times.
Closing it does not remove it from the DOM; it only does a display:none. It seems the only way to reuse it is to do this:
$(‘#jqxLoader’).jqxLoader(‘close’);
$(‘#jqxLoader’).remove()
$(‘body’).append(‘<div id=”jqxLoader”/>’)
… which seems a bit awkward.
Hello alexn,
Please, take a look at this example:
https://www.jseditor.io/?key=loader-change-content
Best Regards,
Hristo Hristov
jQWidgets team
http://www.jqwidgets.com
So simple! I was over-thinking it. Thank you!
You must be logged in to reply to this topic.