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 the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...