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
Get Updates on the Splunk Community!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...