Comments (4)
is simple , do the sum of the height of the value of the progress bar set in the style sheet " md- date table.css " the value of the defined height in the function " marginTop " defined in the file "fixed -table- header.js " in my case I use 3px for the progress bar , check the source code:
Original source code
function marginTop(height) {
table.original.css('marginTop', '-' + height + 'px');
}
My solution
function marginTop(height) {
table.original.css('marginTop', '-' + (height-3) + 'px');
}
In my case I solved my problem.
from fixed-table-header.
Is there a way to define this elsewhere, i.e. not in the source code ?
from fixed-table-header.
If you add your own progress bar (like the one shown below) as the first element in <thead>
, then you can get a progress bar.
<md-progress-linear md-mode="indeterminate"></md-progress-linear>
This is not perfect, however, since the progress bar is then situated at the top of the table content, and scrolls away when you scroll down.
I would also really like to see this resolved properly.
from fixed-table-header.
Can we defined it via CSS ? (With CSS 3 there is some ways ti use Calc() and attr()) :)
from fixed-table-header.
Related Issues (20)
- Type error
- Cannot use jQuery resize event to resize on ngShow.
- Doesn't work well with infinite-scroll
- dammage HOT 1
- row headers?
- broken with two <md-content> columns
- disappears when used with ng-repeat HOT 1
- Headings disappear if using ng-if on ancestor element HOT 6
- It deseappear when ised with uib-tabset
- Minimum width for the column HOT 1
- Whole page scrolls when div has height 100%
- Table header cells do not get proper widths on IE11 HOT 14
- Cannot read property '0' of undefined HOT 3
- Error when using some elements inside the fixed header
- Angular 2- 5 support
- overflow: auto causes css rendering issue in chrome
- Cell width and pagination
- Reduce watcher by using ResizeObserver
- RTL Issue
- Not working
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 fixed-table-header.