Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Access Row Fields in BaseCellRenderer

$
0
0
I am working with a custom HTML dashboard. I see how to use the TableView and the BaseCellRenderer together to customize the contents of a given cell in the table. However, when the BaseCellRenderer is called, it appears that I can only access the value of that field. Is there a way that I can reference the values of all the fields in that rows data? Here is what I'm trying to accomplish... I have a table displaying three columns of data. I want to add an action to the end of the row that when clicked, will grab the values of those three data columns and push those into a KV Store. I created a dummy field in my search (eval Action=1) so that the table renders an additional column for me to override with the BaseCellRenderer. But the only data I can see in that function is the value of the Action field which is 1. I need to know the values of the 3 other fields of that row.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>