Giter Club home page Giter Club logo

Comments (6)

AlessandroAnnini avatar AlessandroAnnini commented on September 25, 2024

now ok!
https://github.com/sun2rise/pivottable/blob/sort-numbers/js/pivot.js

pivotbugresolved

for @nicolaskruchten
I'm quite new working on github, if i did not a nice thing branching the project i'm sorry and i will give you the code directly and you can close the branch!!

from pivottable.

AlessandroAnnini avatar AlessandroAnnini commented on September 25, 2024

with the previous commit i didn't consider multi dimensional sorting, i now fixed it!!
https://github.com/sun2rise/pivottable/blob/sort-numbers/js/pivot.js

from pivottable.

nicolaskruchten avatar nicolaskruchten commented on September 25, 2024

Hi there,

You seem to be fixing the Javascript version of the file rather than the Coffeescript version of the file... Actually the Javascript version is generated by compiling the Coffeescript, so changes have to be made to the pivot.coffee file. If you can describe the changes you've made which work for both numbers and strings, I would happily accept the change :)

Thanks,
Nicolas

from pivottable.

AlessandroAnnini avatar AlessandroAnnini commented on September 25, 2024

Hi nicolas,
i will try to write my mods in coffee script too today with some comment!
...and send it to THIS repository!
tnx to you, have a nice day!

from pivottable.

nicolaskruchten avatar nicolaskruchten commented on September 25, 2024

Hi again, I've just pushed a fix that will sort strings, numbers and strings containing numbers (i.e. dates) in a much more natural way, please let me know if this works for you :)

from pivottable.

AlessandroAnnini avatar AlessandroAnnini commented on September 25, 2024

It is working just just fine, thanks again, i think this makes a huge improvement for a wider library "use-case".
again, great work!

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.