Forum Discussion
Can user-adjusted table column widths in Power BI be captured via Javascript?
In one of my company's web apps, I'm embedding a Power BI report on a web page. The user can then go to that web page, make any adjustments to the report, and then click a button to call the Power BI API to download PNG multimedia assets. All this is working great.
When they click the button, the Javascript of the page picks up the BookmarkState of every page in the report, and sends that on to the API. The BookmarkState includes, for example, user-adjusted changes to sort order in tables.
Unfortunately, the BookmarkState does not seem to capture user-adjusted changes to table column widths in embedded Power BI tables.
My question is, can I somehow capture user-adjusted changes to table column widths and pass them on to the Power BI API?
- Anonymous2 years ago
Hi GregBoet ,
The BookmarkState feature in Power BI is designed to capture and restore the state of visual elements in a report, but it does not include information about user-adjusted column widths. After my research, there is no direct method to capture user-adjusted changes to table column widths in embedded Power BI tables.
Best Regards
2 Replies
- AnonymousNot applicable
Hi GregBoet ,
The BookmarkState feature in Power BI is designed to capture and restore the state of visual elements in a report, but it does not include information about user-adjusted column widths. After my research, there is no direct method to capture user-adjusted changes to table column widths in embedded Power BI tables.
Best Regards
- GregBoetFrequent Visitor
Thank you for the reply, Anonymous. It didn't look possible from what I saw, but I appreciate your reply.