Add custom arrows for pagination betwen columns
Hello I included example image that I want to achieve. The dates from this image are dynamically generated. They are columns of my table. My question is, is it possible to add "prev" and "next" buttons for pagination between columns like on image and is it possbile? Thanks

4 Replies
equal-aquaOP•2y ago
I have the pagination buttons above of table, but i want to include between columns 😄

genetic-orange•2y ago
It depends what you mean by pagination.
If you’re asking whether you can scroll across to the next set of columns, then you would likely use a scrollTo call for the onClick handler of your buttons.
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollTo
MDN Web Docs
Element: scrollTo() method - Web APIs | MDN
The scrollTo() method of the Element
interface scrolls to a particular set of coordinates inside a given element.
equal-aquaOP•2y ago
I mean put custom buttons between columns
is it possible like on image? @aniallator8 ?
genetic-orange•2y ago
Yes. You can put anything you like within the
<th>
cell of the column.