Giter Site home page Giter Site logo

Comments (7)

michelengelen avatar michelengelen commented on August 15, 2024

Hey @Arata-Yoshida
I am almost 100% sure that this is not possible.

This is due to the structure the column headers are rendered with.
As you can see from the screenshot below the group headers are rendered within individual header rows.

Screenshot 2024-05-22 at 12 25 53 Screenshot 2024-05-22 at 12 26 07

Maybe @romgrk knows a way with heavy customization, but I am almost sure that this is not possible.

@cherniavskii are we planning to support spanning the empty header cells when ungrouped?

from mui-x.

romgrk avatar romgrk commented on August 15, 2024

I'm not sure if I understand the request correctly, more details would be appreciated, but from what I can understand it doesn't sound doable.

from mui-x.

Arata-Yoshida avatar Arata-Yoshida commented on August 15, 2024

I'm sorry, it seems that I haven't been able to properly communicate what I want to do and what the problem is, so I've redrawn the image.
Could you support us how we can solve this problem?

image

from mui-x.

romgrk avatar romgrk commented on August 15, 2024

That's not possible with the datagrid. Headers are organized in rows, and we don't support rowspan in the headers.

from mui-x.

Arata-Yoshida avatar Arata-Yoshida commented on August 15, 2024

I see. But is there any workaround to achieve the table we want?

from mui-x.

romgrk avatar romgrk commented on August 15, 2024

You could try to use CSS to heighten the cell and float or negative-margin it at the start of the grid, but that's not something we can support.

from mui-x.

github-actions avatar github-actions commented on August 15, 2024

The issue has been inactive for 7 days and has been automatically closed.

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.