Fork me on GitHub

Positioning Options Explained

There are 2 floating header options available to you to choose from. absolute positioning and fixed positioning. By default, if you dont specify a positioning to use, the plugin will use the following defaults:
If the table is page scrolling - use fixed positioning
If the table is inner scrolling - use absolute positioning

Those defaults provide the best UX on IE

Pros of fixed positioning:
  • Makes very little assumptions about your DOM and very little DOM modifications.
  • Looks good with window scrolling when table is floated at the top of viewport
Cons of fixed positioning:
  • Requires much more calculations than absolute positioning when used with inner scrolling
  • Supports at most 1 parent with scrollbars (and scrollbars on the page itself)
  • ANY changes in the dom that change table positioning required a reflow event

Pros of absolute positioning:
  • Requires much less calculations to position the floating header.
  • Looks good with inner scrolling when table is floated at the top of scrolling container
Cons of absolute positioning:
  • Needs to make more assumptions about your DOM, modifies your DOM more


Name type default description
backdrop boolean true Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn't close the modal on click.
keyboard boolean true Closes the modal when escape key is pressed
show boolean true Shows the modal when initialized.
remote path false

If a remote url is provided, content will be loaded via jQuery's load method and injected into the .modal-body. If you're using the data api, you may alternatively use the href tag to specify the remote source. An example of this is shown below:

  1. <a data-toggle="modal" href="remote.html" data-target="#modal">click me</a>
backdrop boolean true Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn't close the modal on click.
keyboard boolean true Closes the modal when escape key is pressed
show boolean true Shows the modal when initialized.
remote path false

If a remote url is provided, content will be loaded via jQuery's load method and injected into the .modal-body. If you're using the data api, you may alternatively use the href tag to specify the remote source. An example of this is shown below:

  1. <a data-toggle="modal" href="remote.html" data-target="#modal">click me</a>
backdrop boolean true Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn't close the modal on click.
keyboard boolean true Closes the modal when escape key is pressed
show boolean true Shows the modal when initialized.
remote path false

If a remote url is provided, content will be loaded via jQuery's load method and injected into the .modal-body. If you're using the data api, you may alternatively use the href tag to specify the remote source. An example of this is shown below:

  1. <a data-toggle="modal" href="remote.html" data-target="#modal">click me</a>
backdrop boolean true Includes a modal-backdrop element. Alternatively, specify static for a backdrop which doesn't close the modal on click.
keyboard boolean true Closes the modal when escape key is pressed
show boolean true Shows the modal when initialized.
remote path false

If a remote url is provided, content will be loaded via jQuery's load method and injected into the .modal-body. If you're using the data api, you may alternatively use the href tag to specify the remote source. An example of this is shown below:

  1. <a data-toggle="modal" href="remote.html" data-target="#modal">click me</a>
hi