Dashboards & Visualizations

how to perform to disable repeatition image onclick within cell?

sfatnass
Contributor

hi

i added some pictures on table search

i use render to perform the event click on the cell

but when i click on the cell the image multiplies see the screenshot :

alt text

and this is my css code :

#tableid td.range-checked {
    background-image: url('checked.png') !important;
    background-repeat: no-repeat;
    background-position: center;
}

#tableid td.range-unchecked{
    background-image: url('unchecked.png') !important;
    background-repeat: no-repeat;
    background-position: center;
}

i don't know what can i do to resolve this problem, may be something to add on my css.
if any body have any idea
thx

0 Karma

sfatnass
Contributor

no one have an idea?

0 Karma

lguinn2
Legend

I would go to the dashboard panel and turn off drilldown for the panel. In XML it is

 <option name="charting.drilldown">none</option>

But I don't know how to do this in HTML or JavaScript. I don't think you can fix this in your CSS.

0 Karma

sfatnass
Contributor

i added the option charting.drilldown but no change appear.
i have the same problem
this is how the options for tableElement is configured (by default when i convert from xml to html):

 var idtable = new TableElement({
                "id": "idtable",
                "count": 10,
                "dataOverlayMode": "none",
                "drilldown": "cell",
                "charting.drilldown": "none",
                "rowNumbers": "false",
                "wrap": "true",
               "managerid": "search1",
               "el": $('#idtable ')
          }, {tokens: true, tokenNamespace: "submitted"}).render();
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...