Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

[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();
                         }
});

0 votes

Comments

This question is not related to any tool in the products list to the top left.
I close it as off topic.


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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 14 '18, 9:35 a.m.

Question was seen: 2,089 times

Last updated: Mar 14 '18, 11:48 a.m.

Confirmation Cancel Confirm