Skip to content

Expanded grid row extends horizontally to the size of the rows #448

@babuborgo

Description

@babuborgo

Hello,

I am attempting to implement a simple flex layout in the expand template of a mtx-grid row. However, no matter what styles or classes I try, it seems that the expansion container always tracks the rest of the rows, for both width and scrolling.

Is it possible to have a flex layout in that container, so that the width tracks the visible space and the horizontal scrolling does not move the contents?

I hope the issue is clear enough.

Repeatability steps:

  1. Create a mtx-grid with a lot of columns
  2. implement an expand template on one column
  3. in the template create a simple flex layout (i am on matero 17 so i used row and col-x)
  4. Attempt scrolling the rows horizontally
    The result should be that the expand template flex layout extends beyond the visible area of the table and is scrollable along with the rows.

Is there some kind of workaround? I have tried to imitate the style from pinned column cells, but it hasn't worked out so far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: data-gridIssues about data gridquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions