Skip to content

Additional row added when using rowSpan #128

@krasimir

Description

@krasimir

Hello,

my initialization code:

const statesTable = new Table({
  head: ['ID', 'value', 'effects', 'Qs', 'Q result'],
  colWidths: [6, 19, 10, 10, 19]
});

here're my rows:

[
  [
    {
      "rowSpan": 2,
      "content": "s_1"
    },
    {
      "rowSpan": 2,
      "content": "\"foo\""
    },
    "e_25",
    "map\nmap*\nmutate",
    "\"foo\""
  ],
  [
    "e_26",
    "map\npipe*",
    "\"foo\""
  ]
]

And the result is:
image

So, I'm wondering if I'm missing something. It looks like the empty cell on the second row shouldn't be there.

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