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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...