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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...