Simple, in $SPLUNK_HOME/etc/apps/appname/appserver/static/application.js add:
if ((Splunk.util.getCurrentView() == "target_dashboard_name") && Splunk.Module.SimpleResultsTable) {
Splunk.Module.SimpleResultsTable = $.klass(Splunk.Module.SimpleResultsTable, {
onResultsRendered: function($super) {
var retVal = $super();
this.myNonClickableColumns();
return retVal;
},
myNonClickableColumns: function()
{
$('table.simpleResultsTable td[field="target_column1"]').removeClass('d')
$('table.simpleResultsTable td[field="target_column2"]').removeClass('d')
$('table.simpleResultsTable td[field="target_column3"]').removeClass('d')
},
});
}
Where:
Happy jQuering! 🙂
Simple, in $SPLUNK_HOME/etc/apps/appname/appserver/static/application.js add:
if ((Splunk.util.getCurrentView() == "target_dashboard_name") && Splunk.Module.SimpleResultsTable) {
Splunk.Module.SimpleResultsTable = $.klass(Splunk.Module.SimpleResultsTable, {
onResultsRendered: function($super) {
var retVal = $super();
this.myNonClickableColumns();
return retVal;
},
myNonClickableColumns: function()
{
$('table.simpleResultsTable td[field="target_column1"]').removeClass('d')
$('table.simpleResultsTable td[field="target_column2"]').removeClass('d')
$('table.simpleResultsTable td[field="target_column3"]').removeClass('d')
},
});
}
Where:
Happy jQuering! 🙂
I need this feature too. When will Splunk implement this? Alternatively I want to be able to map $click.value$ to any column I want regardless of which column of the row the user clicked on.