Thank you for sharing the ideas and giving some very useful suggestions. I will forward this to our lead developer and maybe in future we will implement it. We had this functionality in past but it causes lot of issues with themes and that is why we removed it. Thank you again. Best regards.
Here is some javascript that I've used to freeze my header rows when scrolling down. You may use it/modify it for a future update if you like it.
var table = document.querySelector('table');
if (table != null )
window.addEventListener('scroll', function(){
var top = table.getBoundingClientRect().top;
top = document.body.className.search('admin') > 0 ? top - 32 : top;
if (top < 0 )
table.querySelector('thead').style.transform = 'translateY( '+ (-top) +'px )';
else
table.querySelector('thead').style.transform = 'translateY( 0px )';
table.querySelector('thead').style.background = '#fff';
});
Hi weihs5,
Thank you for your purchase.
Thank you for sharing the ideas and giving some very useful suggestions.
I will forward this to our lead developer and maybe in future we will implement it.
We had this functionality in past but it causes lot of issues with themes and that is why we removed it.
Thank you again.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables