Isaac Rumbold
04/25/2025, 4:12 PMCeligo AI
04/25/2025, 4:12 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems that you can make a record header stay at the top of the browser window when you scroll down by using jQuery and TamperMonkey. Here is the jQuery code that was shared:
javascript
jQuery(function () {
const windowHeight = jQuery(window).height();
jQuery('.uir-machine-table-container')
.filter((index, elem) => jQuery(elem).height() > windowHeight)
.css('height', '90vh')
.bind('scroll', (event) => {
const headerElem = jQuery(event.target).find('.uir-machine-headerrow');
headerElem.css('transform', 'translate(0, ' + (event.target.scrollTop - 1) + 'px)');
});
});
You can add this code to a client script or use TamperMonkey, a browser extension that allows you to customize the way a web page displays or behaves by using JavaScript.
Another way to keep the user at the top of the page is to use window.scrollTo(0,0);
which scrolls the window to the top of the page.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
04/25/2025, 4:13 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.803689957
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.791656435
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.79135108
Celigo AI
04/25/2025, 4:13 PM