Comments Steve started the conversationJune 13, 2017 at 10:02amHow do I fix the header at the top of a table? 1,846Miloš repliedJune 13, 2017 at 2:23pmHi Steve,Thank you for your purchase.Can you please send me some example and tell me what do you want to achieve so I can give you my suggestion.Thank you.Kind Regards, Miloš Jovanović[email protected] Rate my supportTry 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 Steve repliedJune 13, 2017 at 7:28pmIs there a way to fix the table header and the buttons above the header including the search text box so that when you display multiple records and scroll below the first page the header fill stick in place. 1,846Miloš repliedJune 14, 2017 at 9:37amHI Steve,We had that option in our previous releases but It caused many issues with the themes so we need to remove it.There is some workaround that is suggested by our user but we did not have time to test it out. Here is that java script so maybe it can help you. 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'; });Best regards.Kind Regards, Miloš Jovanović[email protected] Rate my supportTry 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 Sign in to reply ...
How do I fix the header at the top of a table?
Hi Steve,
Thank you for your purchase.
Can you please send me some example and tell me what do you want to achieve so I can give you my suggestion.
Thank you.
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
Is there a way to fix the table header and the buttons above the header including the search text box so that when you display multiple records and scroll below the first page the header fill stick in place.
HI Steve,
We had that option in our previous releases but It caused many issues with the themes so we need to remove it.
There is some workaround that is suggested by our user but we did not have time to test it out.
Here is that java script so maybe it can help you.
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