Coder Social home page Coder Social logo

Comments (7)

teadams avatar teadams commented on August 17, 2024

Another way is to let data be a json and then only display the elements that are in columns.

from mui-datatables.

gregnb avatar gregnb commented on August 17, 2024

@jkantr I'm fine again making another breaking change considering this package is still in beta. My vote is for the string enum without doing a type check.

enum('true', 'false', 'excluded')

from mui-datatables.

gregnb avatar gregnb commented on August 17, 2024

I will look to take this up next and go with the proposed enum solution listed above

from mui-datatables.

jmstein avatar jmstein commented on August 17, 2024

Can I put in another vote for this?

I'd really like to be able to able to get the index in the original list I passed in of a row (after being sorted). One way to do that would be to have a hidden index column, since "rowIndex" is currently the new index after sorting. What are your thoughts?

from mui-datatables.

gregnb avatar gregnb commented on August 17, 2024

This feature is now available in the latest published version

from mui-datatables.

jmstein avatar jmstein commented on August 17, 2024

Awesome, thanks! I'll take a look.

from mui-datatables.

william-chu avatar william-chu commented on August 17, 2024

@gregnb Thanks so much for making this library, it's been a lifesaver! Just curious if there is any enum option for this other use case the original requester mentioned?

"display a column that a user can not hide."

I have a situation where I have a column that I render with my table, the display opt is set to true so it can't be hidden, but it still shows up in the column view toggle list.

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.