Coder Social home page Coder Social logo

Comments (5)

michelengelen avatar michelengelen commented on May 29, 2024

Hey @richaDhingra
From what I understand you can use the Master Detail feature for that. It will not wrap the row (which is not preferred) and instead add a section below that can be opened with a designated toggle column.

Inside you can render whatever you like, even accordions.

If you really need to add an accordion as a replacement for the row component you can also do that, but it is way more complicated and less performant. The approach you mentioned in your issues text is correct. Using slots.row would be the way to replace a row with something custom.

from mui-x.

richaDhingra avatar richaDhingra commented on May 29, 2024

@michelengelen Thanks for your reply , I have seen Master Detail feature and have planned to use that only.

One thing regarding the approach i wanted to workout i.e. using slots.row , if I use that it will override the current row component with a custom component and i won't be able to use data grid sorting feature on it. Is my understanding correct?

from mui-x.

michelengelen avatar michelengelen commented on May 29, 2024

Yes, you are correct about the sorting. You would need to implement a custom sorting/filtering in that case

from mui-x.

richaDhingra avatar richaDhingra commented on May 29, 2024

@michelengelen Thanks for confirming.

from mui-x.

github-actions avatar github-actions commented on May 29, 2024

⚠️ This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.

@richaDhingra: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey.

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.