How to use scroller plugin on horizontal scrolling?
How to use scroller plugin on horizontal scrolling?
Hi,
I have a table with alot of columns ( table with fixed columns),
how can i to enable the virtual scrolling on x scrolling?
BR,
Omri
This discussion has been closed.
Answers
Here is an example of scroller and fixedColumns.
https://datatables.net/extensions/scroller/examples/initialisation/fixedColumns.html
Is this what you are looking for?
Kevin
No, im looking for a virtual scrolling on x scroller, when i scroll right or left hide and show columns automaticlly, i have alot of columns and the page working very slow.
BR,
Omri
Hi @omri-t ,
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
I don't think there is anything built into Datatables to show and hide columns while scrollling. One option is to use Column Visibility. You can also use
column().visible()to show and hide columns.Kevin