Giter Club home page Giter Club logo

Comments (10)

nicolaskruchten avatar nicolaskruchten commented on September 25, 2024

Agreed, this is a much better approach. I'll think about how to do it but I would also happily accept any pull requests along these lines or some pseudo-code or something like that :)

from pivottable.

ThomasBurleson avatar ThomasBurleson commented on September 25, 2024

Sorry. I am swamped right now with AngularJS screencast tutorials.
If you separate the code, I can provide an AngularJS directive wrapper for your library. ;-)

from pivottable.

nicolaskruchten avatar nicolaskruchten commented on September 25, 2024

OK. I could split the pivot(...) function into two calls, something like renderPivot(pivotData(...)) where pivotData() would return an object that could be queried for row/col headers and the data for each cell, so that people could implement their own renderPivot() methods? Would this meet your needs?

from pivottable.

nicolaskruchten avatar nicolaskruchten commented on September 25, 2024

The data model is now separate from the DOM construction, although I'm not sure if it's actually possible to do what you were hoping to with AngularJS.

from pivottable.

OscarAgreda avatar OscarAgreda commented on September 25, 2024

Thanks Nicolas and Thomas
I was just wondering if the Angular directive is still on the road-map
Ragards

from pivottable.

nicolaskruchten avatar nicolaskruchten commented on September 25, 2024

Hi Oscar. I'm not doing any work on this issue at the moment, and I've never worked with AngularJS so I have no idea what's involved here.

from pivottable.

OscarAgreda avatar OscarAgreda commented on September 25, 2024

ok.
your awesome and simple Jquery calculations will have to be done as a directive .
check this post, imagine the possibilities of your pivot table
http://www.delimited.io/blog/2014/7/16/d3-directives-in-angularjs

from pivottable.

nicolaskruchten avatar nicolaskruchten commented on September 25, 2024

OK, I'm busy for the next couple of weeks but I'll take a look in late August :)

from pivottable.

OscarAgreda avatar OscarAgreda commented on September 25, 2024

ok.
you should first try using jQuery Passthrough
http://angular-ui.github.io/ui-utils/#/jq

from pivottable.

nicolaskruchten avatar nicolaskruchten commented on September 25, 2024

To be honest, I don't think I have any time or bandwidth to work on this feature, but I would happily accept related pull-requests.

from pivottable.

Related Issues (20)

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.