Execute when Page Loads:
=================
$(document).ready(function () {
let h = $(window).height() * 78 / 100;
$("#invoicereg_ig").css("height", `${h}px`); // invoicereg -- Static ID
});
$(document).ready(function () {
$("#invoicereg_ig_toolbar_search_field").keyup(function () { // invoicereg -- Static ID
var search = $(this).val();
$(".SEARCH_RECORD tbody tr").hide();
var len = $('.SEARCH_RECORD tbody tr td:contains("' + search + '")').length;
if (len > 0) {
$('.SEARCH_RECORD tbody tr td:contains("' + search + '")').each(
function () {
$(this).closest("tr").show();
}
);
}
});
});
$.expr[":"].contains = $.expr.createPseudo(function (arg) {
return function (elem) {
return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0;
};
});
Select Grid Region:
Static ID: invoicereg