简体   繁体   中英

Jquery Datatable Infinite Scroll (Horizontal)

I have an datatable an many columns (it can be more than 30) and if there are more than 10 columns , datatable is taking columns to bottom of the row but I want to show all of columns in the same row and without taking to bottom of the row.

I tried scrollx,bScrollInfinite etc.

Thanks.

Jquery datatable have scrollX property that make the X axis scrolling if the contents are more than the width of the container. Use it like:

scrollX : true,

Reference

我刚刚解决了一个问题:如果您使用active :true数据表,则会将第10列之后的所有列都移到该行的底部。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM