Problem ScrollY option, lose alignment Head Column vs data columns

Problem ScrollY option, lose alignment Head Column vs data columns

bribieskardzbribieskardz Posts: 3Questions: 1Answers: 0

I'am using a table with scrollY, however the Headers is not align to data columns, lose alignment

Help us!!!

Answers

  • kthorngrenkthorngren Posts: 21,569Questions: 26Answers: 4,996

    Need more info like what is your config. Are you using something like Bootstrap and if so have you loaded all the Datatables integration files for the UI being used. Many times the problem is not all the correct CSS and JS files are loaded.

    Kevin

  • bribieskardzbribieskardz Posts: 3Questions: 1Answers: 0

    Good Day,

    Lines above, the data table config

                                ,sort: false
                                ,autoWidth:true
                                ,stateSave:true
                                ,scrollY: "44vh"
    
  • kthorngrenkthorngren Posts: 21,569Questions: 26Answers: 4,996

    Thanks for the info but that is still not enough info to help. Maybe you can provide a link to your page or a test case showing the problem.

    We need to know more about your environment to start helping.

    Kevin

  • bribieskardzbribieskardz Posts: 3Questions: 1Answers: 0

    Good Day

    In a webpage from Datatable, If you adjust the window, You'll be to look the problem, If you move the Scroll X, The headers are static, and only columns data moves.

    https://datatables.net/examples/basic_init/scroll_y.html

    Regards

This discussion has been closed.