Skip to content

[Bug] groupConfig parent group row renders blank when ListTable has only 1 data column (works with 2+ columns) #5014

Description

@QQAnh

Version

1.23.1

Link to Minimal Reproduction

https://www.visactor.com/vtable/demo/table-type/list-table-group

Steps to Reproduce

Steps to Reproduce

  1. Render a ListTable with groupConfig.groupBy and only one data column.
  2. Observe the grouped parent rows.
  3. Add a second data column (can be dummy / non-essential).
  4. Compare behavior.

Current Behavior

Actual Behavior

  • With one data column, parent group rows are blank (no title/custom layout visible).
  • Group hierarchy still exists and behaves as grouped data.
  • With two or more data columns, parent group rows render as expected.

Expected Behavior

Parent group rows should render correctly regardless of whether there is 1 data column or 2+ data columns.

Environment

- OS: MacOS
- Browser:Chrome Version 143.0.7499.193 (Official Build) (arm64)
- Framework:React 18

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions