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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...