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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...