Skip to content
This repository was archived by the owner on Oct 18, 2018. It is now read-only.
This repository was archived by the owner on Oct 18, 2018. It is now read-only.

In the merge cells tutorial, use different colspan and rowspan #49

@Treppenhouse

Description

@Treppenhouse

In the merge cells tutorial https://docs.handsontable.com/0.34.0/demo-merged-cells.html you provide three examples for merging cells:

mergeCells: [
      {row: 1, col: 1, rowspan: 3, colspan: 3},
      {row: 3, col: 4, rowspan: 2, colspan: 2},
      {row: 5, col: 6, rowspan: 3, colspan: 3}
    ]

however, in EVERY example the rowspan is exactly equal to the colspan. I think it would be much better if their values differ to show that this is a possibility, too. And to show which of the two parameter has what effect.

For example:

mergeCells: [
      {row: 1, col: 1, rowspan: 4, colspan: 1},
      {row: 3, col: 4, rowspan: 2, colspan: 2},
      {row: 5, col: 6, rowspan: 2, colspan: 5}
    ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions