Coder Social home page Coder Social logo

Comments (7)

gregnb avatar gregnb commented on September 27, 2024 1

@codyjroberts Thanks for the feedback! No plans as of now but I can throw this request on the feature board

from mui-datatables.

gregnb avatar gregnb commented on September 27, 2024

Hey @codyjroberts so I'm going to start working on this feature next. Just some product based questions first, though. So, after exploring around I'm wondering what is the use case on selectable rows? So far, I'm just seeing datatable examples out there that allow you to select rows and then delete them. I was wondering what would you do if given the feature?

Are there any cool things I could be missing? I was thinking when you start selecting rows up top in the toolbar area I would then show how many rows are selected (much like how mui demo table works today) and then for options on what you can do with this data: delete and maybe export?

How you mentioned bind actions. So, what would you have in mind?

from mui-datatables.

gregnb avatar gregnb commented on September 27, 2024

So PR #21 is close to being finished. So far, I've added the following callbacks: onRowsSelect and onRowsDelete.

Wish I had some more ideas for useful options in the toolbar above. For now, just a delete function.

screen shot 2018-03-27 at 10 14 55 pm

screen shot 2018-03-27 at 10 15 19 pm

from mui-datatables.

gregnb avatar gregnb commented on September 27, 2024

Version 1.1.2 now has this feature added

from mui-datatables.

NickToye avatar NickToye commented on September 27, 2024

@gregnb I have a use for something like this. Currently we are working on a delivery management system, and we would like to be able to select rows and then run a function that would bulk edit a cell in a column. For example we would want to remove a booking date, but not actually remove the record.

Is that already possible?

from mui-datatables.

JesusADS avatar JesusADS commented on September 27, 2024

it's possible to add custom icons+funtions to the select row function? not only the delete one. I would like to be able to do something like this

mass_actions_example

mass actions like, send email, or edit...

from mui-datatables.

jakesylvestre avatar jakesylvestre commented on September 27, 2024

@JesusADS I've opened #544 to allow for custom delete icons

from mui-datatables.

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.