Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
GregBoet
Frequent Visitor

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?

1 ACCEPTED SOLUTION
Anonymous
Not 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

View solution in original post

2 REPLIES 2
GregBoet
Frequent Visitor

Thank you for the reply, @Anonymous. It didn't look possible from what I saw, but I appreciate your reply.

Anonymous
Not 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

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.