find.js
/**
* Utility to find items in Table View
*/
var findTableViewUtil = function (config) {
// Upon clicking the find button, show the find dropdown content
$(".btn-find").click(function () {
$(this).parent().find(".find-pf-dropdown-container").toggle();
});
// Upon clicking the find close button, hide the find dropdown content
$(".btn-find-close").click(function () {
$(".find-pf-dropdown-container").hide();
});
};
// Initialize find util
new findTableViewUtil();