Skip to content

Conversation

@t-naabus
Copy link
Contributor

@t-naabus t-naabus commented Mar 8, 2017

No description provided.

@t-naabus t-naabus requested review from ali-hamud and somriar March 8, 2017 14:14
@msftclas msftclas added the documentation Improvements or additions to documentation label Mar 8, 2017
@t-naabus t-naabus changed the title T naabus refresh refresh report Mar 8, 2017
Copy link
Contributor Author

@t-naabus t-naabus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved conflict

@t-naabus t-naabus merged commit c6ace7e into dev Mar 9, 2017
@t-naabus t-naabus deleted the t-naabus-refresh branch March 9, 2017 12:55
@kuncevic
Copy link

kuncevic commented Aug 30, 2017

For my understanding refresh() it is doing the real report data reload isn't it? As there is another method reload() which is seam like just repainting the current report without actually taking in to account any data changes like from these samples https://microsoft.github.io/PowerBI-JavaScript/demo/v2-demo/index.html Intearct/Reload:

// Get a reference to the embedded report HTML element
var embedContainer = $('#embedContainer')[0];
 
// Get a reference to the embedded report.
report = powerbi.get(embedContainer);
 
// Reload the displayed report
report.reload()
    .then(function (result) {
        Log.logText("Reloaded");
    })
    .catch(function (errors) {
        Log.log(errors);
    });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants