Skip to content

Child row of a child row does not show "Are you sure you want to delete this row?" #830

Closed
@KippWade

Description

@KippWade

Describe the bug
When using the parent/child option, a child of a child with children will not show the deletion text "Are you sure you want to delete this row?"

To Reproduce
https://codesandbox.io/p/sandbox/material-table-core-parent-child-forked-8rk59g

  1. Expand first child level by clicking on the row (codesandbox example, the row is blue)
  2. Expand the second child level by clicking on the embedded row (codesandbox example, the row is green)
  3. On the second level (green row), click the delete trashcan icon
  4. The text "Are you sure you want to delete this row?" does not appear, the row is blank.

Expected behavior
Expected to see the default "Are you sure you want to delete this row?" text.

Screenshots
image

Desktop:

  • OS: Windows 11
  • Browser Chrome
  • Version 120.0.6099.227 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions