Comments (3)
Ok, you can do that with what already exists like this:
var $table = $('table.demo2');
$table.on("floatThead", function(e, isFloated, $floatContainer){
$floatContainer.toggleClass("floated", isFloated);
});
$table.floatThead(...);
Does this work for what you want to do or did I misunderstand your question?
from floatthead.
Ah excellent yes thats what im after yes. I just thought it could be nice also to add it by default to this element too.
from floatthead.
from floatthead.
Related Issues (20)
- TypeScript Definitions HOT 6
- Floating thead hides its origin on overscroll? HOT 5
- Strategy for handling sticky position from top when that position isn't constant HOT 11
- Compatibility with table sorting plugins ? HOT 2
- Wrong setHeaderHeight behaviour HOT 9
- Header never prints using jquery.floatThead HOT 2
- Browser search doesn't scroll to position of result HOT 2
- What is the best way to adjust column widths? HOT 3
- [enhancement] keep input focus during reflow
- Not working
- TypeScript 4.3.5 error with version 2.2.2 HOT 7
- In your official documentation, please explain you MUST use a JQuery selector, not regular JavaScript HOT 5
- TypeScript 4.3.5 error with version 2.2.3 HOT 2
- Table is not recalulated correctly after hiding/showing some columns HOT 6
- top position according to responsive vs. scroll HOT 4
- Rendering issue when multiple <table> are contained in a `overflow: auto;` div HOT 7
- Fix Multiple THEAD in one single Table HOT 3
- Could you please provide an example in React HOT 2
- fthfoot > visible (padded) with Bootstrap 5.3.X
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from floatthead.