Code Monkey home page Code Monkey logo

Comments (12)

michelengelen avatar michelengelen commented on September 23, 2024 1

I don't think so ... I will test this tomorrow when I am back at my desk! 👍🏼

from mui-x.

michelengelen avatar michelengelen commented on September 23, 2024

Would this be the feature you are looking for: Show value for the leaves?

from mui-x.

tschrijvers1999 avatar tschrijvers1999 commented on September 23, 2024

@michelengelen yes, however I cannot edit this field. Which I would like to do, otherwise it is not useful for me to have it there.

from mui-x.

michelengelen avatar michelengelen commented on September 23, 2024

Yes, that is currently not possible.
@joserodolfofreitas is there a feature planned to render a custom leaffield, or just use the leaffield as is from the coldef?

from mui-x.

tschrijvers1999 avatar tschrijvers1999 commented on September 23, 2024

@michelengelen using colspan for the pinned group is also not possible? Since otherwise the column for the grouped parts needs to be really big, which causes a lot of useless whitespace.

from mui-x.

michelengelen avatar michelengelen commented on September 23, 2024

@tschrijvers1999 I tried today, but couldn't make it work.

@romgrk do you have any idea if this is possible in some way?

Otherwise I would consider this a feature request. Shouldn't be that hard to allow for editing in the leaffield. Would that be fine @tschrijvers1999?

from mui-x.

tschrijvers1999 avatar tschrijvers1999 commented on September 23, 2024

@michelengelen Thanks for looking into it.

If another solution is not possible than a feature request is fine. How long does such a request usually take before it is processed?

from mui-x.

michelengelen avatar michelengelen commented on September 23, 2024

It really depends on the complexity and the workload the team is experiencing.
To speed things up you can also pick this up yourself and open a PR with a solution. 👍🏼

from mui-x.

tschrijvers1999 avatar tschrijvers1999 commented on September 23, 2024

I do not have enough experience, so I will wait for the new feature and workaround with an extra column for now.

from mui-x.

romgrk avatar romgrk commented on September 23, 2024

It should be possible to use the renderCell field to customize the logic.

from mui-x.

tschrijvers1999 avatar tschrijvers1999 commented on September 23, 2024

@romgrk do you have an example of how this should work? I guess I should than create a normal column and in rendercell make some logic such that it appears underneath the group (as a leaf field)?

from mui-x.

romgrk avatar romgrk commented on September 23, 2024

Documentation here: https://mui.com/x/react-data-grid/row-grouping/#grouping-rows-with-custom-cell-renderer

from mui-x.

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.