How to set scrolling effect to visible rightmost part of the table by default?

How to set scrolling effect to visible rightmost part of the table by default?

alhelalalhelal Posts: 1Questions: 1Answers: 0
edited January 2020 in Free community support

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

I want to make visible the E-mail column by default(table is on the link). This is possible by positioning the scrollbar to right. How can I do this?

Answers

  • David@QuantumDavid@Quantum Posts: 36Questions: 4Answers: 2

    @alhelal ,

    By the sounds of things your solution isn't datatables based, just CSS or jQuery.
    Check out this link!

    Regards,
    Dan@Quantum :smile:

  • colincolin Posts: 15,143Questions: 1Answers: 2,586

    Yep, you would use David's suggestion inside initComplete, as that point the table would've completed drawing.

    Colin

This discussion has been closed.