[closed] Issue in displaying dynamic content in webui popover
On a button click , i need to show dynamic content in webuipopover ,based on the input values in the form.
lengthyFunction() is fetching the dynamic data based on the inputs.
On first click it is showing correct data.
When the button is clicked after changing the input values, a different result is expected.
but webuipopover shows the old data.
When the button is clicked again, it is showing correct data in webuipopover.
Please help me to ensure the visibility of popover only after completing a lengthy function call.
Eg code:
jquery(selector).webuiPopover({
closeable:true,
type:'async',
cache:false,
content: function() {
lengthyFunction();
return jquery('.className').html();
}
});
The question has been closed for the following reason: "Question is off-topic or not relevant" by rschoon Mar 14 '18, 11:47 a.m.
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Mar 14 '18, 11:47 a.m.This question is not related to any tool in the products list to the top left.
I close it as off topic.