GithubHelp home page GithubHelp logo

brandon-barker / angular-floatthead Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 13.0 20 KB

A very simple AngularJS wrapper around the awesome floatThead library

Home Page: https://github.com/mkoryak/floatThead/

License: MIT License

HTML 100.00%

angular-floatthead's People

Contributors

brandon-barker avatar jochan avatar nhorvath avatar rodrigosaling avatar sebslomski avatar techfounder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

angular-floatthead's Issues

new update not reflected in bower

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

First row hidden behind float thead when model changes

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?

function($scope, $element, $attrs) is not using explicit annotation and cannot be invoked in strict mode

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!

Release version?

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

option to init plugin after watched expression becomes true

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

How to use this with dynamic columns?

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.

Disabled by default?

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.

jQuery(...).floatThead is not a function

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"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.