Skip to content

refresh report - #163

Merged
t-naabus merged 4 commits into
devfrom
t-naabus-refresh
Mar 9, 2017
Merged

t-naabus merged 4 commits into
devfrom
t-naabus-refresh

Conversation

@t-naabus

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

Copy link
Copy Markdown
Contributor

No description provided.

@t-naabus
t-naabus requested review from ali-hamud and somriar March 8, 2017 14:14
@msftclas Microsoft Contribution License Agreements (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

@t-naabus t-naabus left a comment

Copy link
Copy Markdown
Contributor Author

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

Lex Kuncevic (kuncevic) commented Aug 30, 2017 •

Copy link
Copy Markdown

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.

5 participants