cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

How can i display Expand/Collapse +/- option in Row Headers of custom visual?

WX20200107-153243.png

WX20200107-153818.png

This is a matrix custom visual, so how can i click this line, then drilldown this item?

Or can i display Expand/Collapse +/- option in this line? And what is the drilldown js function?

6 REPLIES 6
Highlighted
Super User IV
Super User IV

Re: How can i display Expand/Collapse +/- option in Row Headers of custom visual?

Highlighted
Regular Visitor

Re: How can i display Expand/Collapse +/- option in Row Headers of custom visual?

Thank you for your reply!

But its not help, i know the power bi matrix visual

I want to use it in my custom visual, but i cant find the javascript funtion or api.

Highlighted
Community Support
Community Support

Re: How can i display Expand/Collapse +/- option in Row Headers of custom visual?

Hi @xingchong 

 

which the custom visual in using? Mostly, if you can't find the related setting in the format panel, it's not able to achieve this currently.

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Highlighted
Regular Visitor

Re: How can i display Expand/Collapse +/- option in Row Headers of custom visual?

regretful, i am using the matrix visual, i wrote the custom visual myself, and i am a frontend developer.

i just want to collapse the line, then to show the next level.

Highlighted
Community Support
Community Support

Re: How can i display Expand/Collapse +/- option in Row Headers of custom visual?

 

Sorry, it's a little bit exceeds our work scope, I try to find some reference here hopefully helpful:

https://community.powerbi.com/t5/Custom-Visuals-Development/Can-we-achieve-this-in-custom-table-visu... 

 

If still can't get around your problem, please kindly raise a support ticket for better advice. thanks a lot!

https://powerbi.microsoft.com/en-us/support/ 

Support Ticket.gif

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Highlighted
Regular Visitor

Re: How can i display Expand/Collapse +/- option in Row Headers of custom visual?

ok thanks

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Power BI Desktop August 2020 Update

Power BI Desktop August 2020 Update

We have great updates this month! Click the link for the video with more info.

Top Solution Authors
Top Kudoed Authors