Created
September 19, 2014 04:00
-
-
Save hobbes3/9639e5cd35a17c97d0f4 to your computer and use it in GitHub Desktop.
move paginator to top table
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Not sure if it works with event view 100% of the time | |
function move_paginator_to_top(panel_id) { | |
var paginator = $("#" + panel_id).find("div.splunk-paginator"); | |
var results_table = $("#" + panel_id).find("div.shared-resultstable-resultstablemaster"); | |
$(results_table).css("clear", "both"); | |
$(paginator).css("clear", "both"); | |
$(results_table).before($(paginator)); | |
} | |
var transaction_table_search = mvc.Components.get("search12"); | |
transaction_table_search.on('search:done', function(properties) { | |
move_paginator_to_top("transaction_table"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment