How can FixedHeader work for Bootstrap modal?

How can FixedHeader work for Bootstrap modal?

steph6usteph6u Posts: 1Questions: 1Answers: 0

How can FixedHeader work for Bootstrap modal?

Answers

  • James3James3 Posts: 9Questions: 2Answers: 0

    I hate to bump such an old post, but I'm very interested in this as well. Is it possible to have a FixedHeader in a bootstrap modal?

  • kthorngrenkthorngren Posts: 20,302Questions: 26Answers: 4,769

    Here is an example with Bootstrap3
    https://datatables.net/extensions/fixedheader/examples/styling/bootstrap.html

    There is also a Bootstrap4 example. You just need to load the appropriate JS and CSS for the styling. I don't see why these examples wouldn't work in a Bootstrap modal.

    If you have problems getting it to work please post a link to your page or a test case showing the issue.

    Kevin

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

    Hi @James3 (and @steph6u !),

    Sorry, no. Bootstrap uses its own scrolling container for the modal, and that isn't something that FixedHeader currently supports. Just the main window,

    Cheers,

    Colin

This discussion has been closed.