Git Product home page Git Product logo

Comments (4)

jassmith avatar jassmith commented on May 26, 2024

Do you just want to know when it happens or need the ability to cancel/override behavior?

from glide-data-grid.

gab23r avatar gab23r commented on May 26, 2024

Actually, at the end what I need is to know the selected lines. I can know when a line is selected with onCellClicked (column will be -1 if I clicked on the checkbox). So I thought I could manage to keep track of the selected rows myslef but it is not possible if I can't listen the selectedAll checkbox...

In the meantime, I realize that a I can't know if a click on a checkbox is a shift click or not, so... I don't know if it is possible to know the selected rows. I am missing something obvious ?

from glide-data-grid.

jassmith avatar jassmith commented on May 26, 2024

onGridSelectionChange gives you the updated gridSelection which has a rows property which has all the selected rows.

from glide-data-grid.

gab23r avatar gab23r commented on May 26, 2024

Oh right didn't see that, actually am I using reflex: a package that wrap you lib and make it available within python but today this event is not available. I will see with them, thanks.
I let you close this then, except if there is other use case for it.
Thanks!

from glide-data-grid.

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.