Giter VIP home page Giter VIP logo

Comments (4)

TimShawver avatar TimShawver commented on July 18, 2024 1

Do you mean like a "grand total" row at the bottom of the table? If so, then yes I could add that at some point. I probably won't be able to get to this for a few weeks though...there are other higher priority issues and I don't have much time to spend right now.

I think it's a good idea though, because it's a broadly useful feature. Thanks for the feedback :)

from qgrid.

jonnojohnson avatar jonnojohnson commented on July 18, 2024

Yes exactly. Here's an example where it could be used to total up sales data based on different sales people or product lines: http://nbviewer.ipython.org/github/jonnojohnson/QGrid/blob/master/Sales%20Data.ipynb

from qgrid.

fterbo avatar fterbo commented on July 18, 2024

Any traction on this? This would be super useful. Alternatively if you could allow a custom "footer row" that was never used in sorting or filtering, this would be flexible enough to implement our own sums (and other metadata).

from qgrid.

TimShawver avatar TimShawver commented on July 18, 2024

Sorry I haven't worked on it yet and I'm not sure when I'll be able to get to it. Good to know people want it though. The idea sounds really interesting. I could imagine letting people provide a "calculate_total" function for each column that takes in the list of values currently showing in the column and is responsible for returning the "total" for the column which gets shown in the footer row. At that point it's really similar to the concept of a formula cell, but I guess it's a little different since you'd want this "grand total" row to always be visible.

from qgrid.

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.