brandon-barker / angular-floatthead Goto Github PK
View Code? Open in Web Editor NEWA very simple AngularJS wrapper around the awesome floatThead library
Home Page: https://github.com/mkoryak/floatThead/
License: MIT License
A very simple AngularJS wrapper around the awesome floatThead library
Home Page: https://github.com/mkoryak/floatThead/
License: MIT License
Hey there,
C:\test>bower install angular-float-thead
bower angular-float-thead#* cached git://github.com/brandon-barker/angular-floatThead.git#0.0.1
bower angular-float-thead#* validate 0.0.1 against git://github.com/brandon-barker/angular-floatThead.git#*
bower angular-floatThead#~0.0.1 install angular-floatThead#0.0.1
update to 0.1.0 not reflected in bower.. thaks, michal
Hi!
I experience an issue when the table data changes on the ng-model. The first tbody>tr
seems to disappear below the floated thead
.
See https://jsfiddle.net/t12doyro/1/. When pressing the change-data button, row nĀ°0 disappears.
Trying to debug this by myself, I found that jQuery.floatThead's reflow
event looses the real table thead
, which makes the table shrink vertically.
I tried to replace the reflow
call and use "destroy + reinstall", but the behavior tends to be even worse: in my angular application, it leads to thead
being missing on completely unrelated tables with floatThead enabled too...
Any idea?
Hi!
Using Angular 1.5.5, angular-floatThead 0.1.1 and the ng-strict-di
directive on the ng-app
element, I am seeing this error on Chrome's console: angular.js:13550 Error: [$injector:strictdi] function($scope, $element, $attrs) is not using explicit annotation and cannot be invoked in strict mode
.
In my entire project, the only place that I have these 3 parameters is at angular-floatThead.js:26
: controller: function ($scope, $element, $attrs) {
Is there a way to solve this issue? Because I think it is the cause of a problem that I am having after minifying the files.
Thanks for any help!
Hi, do u have any plans for angular2-floatthead pls?
If I try to use floatThead and https://github.com/daniel-nagy/md-data-table I get
Multiple directives asking for new/isolated scope.
There's no way to get them working together?
Hey there,
we need the fix for the minification issues in commit ec372af for our project. Maybe you can make a new release with this little change?
I want to avoid forking and adding the project to our project.
And it is planed to release this little library on npm?
Regards,
Markus
Hi, I tried all different ways of manually passing in floatThead options to no avail. How exactly do you do that?
<table float-thead="scrollingTop: 60">
<table float-thead="{scrollingTop: 60}">
both of those methods don't work.
Someone had a problem where he was using this plugin to init on a large table built with ng-repeat using position: 'fixed' option. The problem was that the plugin ran before ngrepeat finished building the table causing you to see 2 headers.
I propose adding another option init-on='somethingThatWillBecomeTrue'
or something
Hi,
It works like a charm for most of the tables.
However I have 1 table that is hidden first.
then people can add columns. for some reason the floatHeader does not work then.
Just wondering, is this by design? I recently upgraded to the latest version and the previous version I was on did not have the float-thead-enabled
property. Since upgrading the directive appears to be defaulted to disabled, which means I must add another property with a static value of true
(I am not currently using a toggle feature) in order to get it to work.
Hi, i had some trouble in using angular-floatThead. I follow the README.md and the console throw jQuery(...).floatThead is not a function, how should i do ?
Angular version: "1.5.5"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.