-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #263 - Working with responsive tables
also can now use `scrollContainer:true` to auto-detect offsetParent of the table
- Loading branch information
Showing
8 changed files
with
226 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
052d952
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't get this working with Bootstrap's
.table-responsive
. Can you give a demo somewhere? I tried setting scrollContainer to true, but thegetTrueOffsetParent
method isn't even finding my.table-responsive
, aselem.offsetParent
returns <body>
. I also tried writing a function:to no avail.
052d952
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, i need to make a more-easy-to-find example on the doc site.
the option you are looking for is
responsiveContainer
notscrollContainer
the example for it currently lives here:
http://mkoryak.github.io/floatThead/examples/bootstrap3/
052d952
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, my bad. That works great, thank you!