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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
r14r
Frequent Visitor

Resize Columns like in Default Matrix

Hi,

i am create a default matrix like visual and i want to implement the column resize feature:

default matrix resize column.jpg

 

How do i:

- show the possibilty to resize the column

- store the new column size, so that after every reload/refresh i can show the same column width

- how to change the overall view port to show a horizontal scrollbar 

 

Thanks

2 REPLIES 2
dm-p
Super User
Super User

Hi @r14r,

You might be better asking these questions on a forum that's more specifically suited to JavaScript and CSS (such as stack overflow), as there are not many web developers actively around on the Power BI forums.

That being said, you can probably start with this article , which is a good walkthough on how you might build such a design using JavaScript and CSS.

You may also want to consider tabulator, which has a lot fo the functionality you're probably looking to design already built-in, and you could just focus your work on integration with Power BI. You would also be able to programmaticaly get/set column widths through its APIs, meaning that you could persist these values into suitable settings in your visual for re-use when it is re-initialised or updated.

Regards,

Daniel





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!


On how to ask a technical question, if you really want an answer (courtesy of SQLBI)




r14r
Frequent Visitor

Hi, 

thanks for the answer and the hints conserning the "css resize".

 

But the main problem is still storing the new column width in the power bi report, so i think it is mainly a topic for this group.

 

Thanls

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors