cancel
Showing results for 
Search instead for 
Did you mean: 

Hover/highlight color in pivot 2 tables

Martha
9 - Travel Pro

When I select fields in a pivot 2 table for filtering, those fields will be highlighted. If I then hover over additional fields, they get highlighted in the same color, like this:

Martha_0-1733912649019.png

I would like to achieve 2 things in my pivot 2 tables:

1. set the hover color different from the color of the already selected (usually filtered) cell(s). i.e. FFH gets a different color, because that's where my mouse currently is located at.

2. color the whole row when selected, not just a cell, like this:

Martha_1-1733912969270.png

Any suggestions are greatly appreciated.

 

8 REPLIES 8

DRay
Community Team Leader

Hello @Martha,

Thank you for reaching out. I see your question hasn't gotten a response yet, so I'm asking internally to try and get you an answer. 

David Raynor (DRay)

DRay
Community Team Leader

Hi @Martha,

Can you take a look at this article and let us know if helps? https://community.sisense.com/t5/knowledge-base/changing-color-of-specific-cells-in-a-pivot-based-on...

David Raynor (DRay)

Martha
9 - Travel Pro

Hi @DRay,

thanks for your reply.

No, it's not about the background color conditional on the cell value. It's about coloring whatever is highlighted.

DRay
Community Team Leader

Hi @Martha,

Thank you for checking it out and following up. I'm not able to find anything that specifically addresses your needs, so if you like, I can work on connecting you with a technical resources who can work with you directly. Would you like me to do that?

David Raynor (DRay)

Martha
9 - Travel Pro

Hi @DRay ,

following up with a bit of a simpler question: how do I change the highlight color to something else then yellow within e.g. a widget script?

For the Compose SDK it's described here: https://sisense.dev/guides/sdk/modules/sdk-ui/interfaces/interface.PivotTableStyleOptions.html#highl... 

But I have no idea how to address that parameter from within a widget script.

Thanks in advance!

Martha

DRay
Community Team Leader

Hi @Martha,

Let me see what I can find and I'll get back to you.

David Raynor (DRay)

DRay
Community Team Leader

Hi @Martha,

Does this help? It's more than your specific use case, but I believe there is good info in there.

https://community.sisense.com/t5/help-and-how-to/invert-text-color-when-over-dark-highlight/m-p/2693...

David Raynor (DRay)

Martha
9 - Travel Pro

Hi @DRay ,

thanks for the link. As I understand, it's about colors in column/bar charts via Highcharts, but my question was for pivot tables, so it didn't help me with my problem 😕

Type a product name