How to hide datatables scroll when fixed column is used?

How to hide datatables scroll when fixed column is used?

ekbordoekbordo Posts: 12Questions: 8Answers: 0
edited October 2018 in Free community support

Hello everyone;

I want to hide datatatable scroll when fixed header is used. (The only shows page scroll.) When i configure this (scrollY: false, scrollX: true, scrollCollapse: true, fixedColumns: true ) , datatable fixed header is not working. How can i handle this problem? Any idea?

Answers

  • kthorngrenkthorngren Posts: 21,303Questions: 26Answers: 4,947

    The FixedHeader docs and the Compatibility chart show that FixedHeader and the scrolling features are not compatible.

    You can use one or the other. The destroy() API can be used if you want to reinitialize a Datatable with new config options.

    Kevin

This discussion has been closed.