Splunk Search

Custom Cell Renderer intermittently working.

skahal_personal
New Member

Hello I have noticed that in some of my dashboards, especially the more complicated ones with multiple sub searches that the custom cell renderer does not work as expected. Specifically the addCellRenderer method doesn't trigger a re-render as the documentation states: https://dev.splunk.com/enterprise/docs/developapps/visualizedata/displaydataview/howtocustomizetable...

I have verified this with console log, the constructor of the cell renderer is invoked but none of the other critical methods like setup and of course render ever run. I need to reference some field data in the renderer to apply styles, so I am waiting till data has been fetched for the particular table view before adding the cell renderer. Is this the issue?

 

 

 

searchResults.on("data", function() {
   if (searchResults.hasData()) { .. add fields to cell renderer object, addCellRenderer }
}

 

 

 

 Any help appreciated, thank you.

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...