Skip to content

[BUG]: Row detail content hidden when virtualization is enabled #516

@DrRiyadh

Description

@DrRiyadh

Current Behavior

When using ngx-datatable with both row details and virtualization enabled, expanding a row details cause the details connect to hidden underneath subsequent table rows. This behavior prevents the full content of the reset of the table from being visible.

Additional Info:

If virtualization is disabled, the table renders correctly, but CPU usage increases significantly for large datasets.
With virtualization enabled, CPU usage remains low, but the row details behavior described above occurs.
Appears to be an issue with the interaction between virtualization and row detail expansion.

Expected Behavior

All rows below the expanded row should remain visible, and the row details should expand correctly without hiding other rows with virtualization enabled

Reproduction of the Issue

Enable row detail template.
Enable virtualization.
Expand a row (e.g., row 8).

Actual Behavior:

Only the main table from row 1 up to the expanded row is visible.
The content below the expanded row appears as a blank area.
The row details are visible for the expanded row.

Version

24.1.0

What browsers are you seeing the problem on?

Chrome

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