Forum Discussion

GSSC's avatar
GSSC
Cloud Apps
10-16-2024

JTD drillToDashboardNavigateTypePivot parameter

Hi, the default setting for this parameter is drillToDashboardNavigateTypePivot: 2. This setting underlines, hyperlinks and changes the colour of the values in the pivot table. The user can easily identify that the value is clickable. 

When using drillToDashboardNavigateTypePivot: 1 it is not obvious to the user that the JTD feature is applied to the pivot. When using this setting I would like the values in the first field to be underlined, hyperlinked and have the font colour changed. Can this be achieved?

3 Replies

  • JeremyFriedel's avatar
    JeremyFriedel
    Sisense Employee

    As drillToDashboardNavigateTypePivot type "1" uses a right click menu to trigger the JTD popup, by default the cells are not styled to not appear to be visualized as standard links which open on a left click.

    Using the Pivot 2.0 API in a separate function in the widget script, it is possible to modify specific cells appearance to style them to appear as links, by changing CSS parameters such as text-coloring, underline, and mouse hover behavior as desired. This can all be modified within the cell.style object, as shared in the examples of the main Pivot 2.0 documentation link. This can be specific to only one column as needed. This Knowledge Base article includes additional examples.

    It is also possible to modify the Jump To Dashboard plugin to change how the plugin handles cell styling with specific settings, but this is discouraged as the JTD plugin is auto updated, and any custom changes made to the plugin will be overwritten on a plugin update and will have to be reapplied on every plugin upgrade. 

  • Hello GSSC,

    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. 

  • Hello GSSC,

    I am still asking internally to try and get you an answer.