Holiday Notice – Support Unavailable on April 18 and April 21
We just wanted to let you know that our support team will be offline on Friday, April 18th (Good Friday) and Monday, April 21st (Easter Monday) due to the holidays.
We'll be back on Tuesday, ready to assist you!
In the meantime, if you need any help, feel free to:
-
Use the support widget in the bottom right corner on our websites (Amelia and wpDataTables) — our latest AI-powered assistant is there 24/7 to help with basic and intermediate questions,
-
Browse our detailed documentation (Amelia, wpDataTables)
-
Explore helpful articles,
-
Or check out our YouTube channels for video guides!
Amelia YouTube Channel
wpDataTables YouTube Channel
Thank you for your understanding, and we wish you a wonderful holiday weekend!
Hello,
I was curious how I can "Freeze" the first 2 columns and "freeze" the header row - this would be very helpful!
Thanks in advance, hopefully I'm missing something obvious.
Sean
Hi Sean
Thank you for reaching out to us.
Creating a sticky header and columns is not possible with plugin built in features, but one of our customers made this possible. We did not get a chance to test it, so you can try if is working for you.
He actually created a fixed header and column using translation of x and y (no absolute or fixed position used), and here's one solution, take a look:
First of all, you gotta set the z-index for each component below:
Then you gotta add listener on scroll like this:
If your table is set to be scrollable, then you might want to add this in as well:
And here's the scrollBlock() part, it is ugly though, but it works for me though. (noted: the numbers work for my theme, if it is not working correctly on yours, then try to adjust the number until it fits.)
It is kind of messy, you definitely can't copy and paste and expect it to work for you. You need to spend some time to figure it out.
Thanks for the reply Blazenka - I think that will be difficult and risky to do on my site since I need to work at all times.
Is there any way that can be added as a feature request? On Google Sheets, it is 2 button clicks to freeze a row or column.....if this could be added to WpDataTables it would be sooooooo helpful to me and probably all of your customers.
Thanks again for your time and help,
Sean McGregor
Hi Sean
Yes of course, I'll kindly ask you to add it as a feature suggestion on this page.
Features are pushed up on our "to-do" list when there are a lot of customers requesting those features, so having your vote as a customer can be beneficial to this feature being developed sooner.