Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I have an embedded report (that already have mobile layout) that I'm trying to change the visualization from default layout to the mobile layout using the updateSettings function like the example below:
const newSettings = {
layoutType: models.LayoutType.MobileLandscape
};
report.updateSettings(newSettings);
When I do it after the report being loaded, the report doesn't change the layout.
I'm only able to show the mobile layout when I set the right layoutType when I'm embedding the report. But in the documentation page, it says that we can change the layout type after we load the report.
Is it an error in the javascript SDK or is it expected behaviour?
I have the exact same issue the author has. Does anyone have any updates? Thanks.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |