Skip to content

Merging cells #187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kamranpoladov opened this issue Oct 30, 2021 · 2 comments · Fixed by #188
Closed

Merging cells #187

kamranpoladov opened this issue Oct 30, 2021 · 2 comments · Fixed by #188

Comments

@kamranpoladov
Copy link

Is it possible to somehow merge cells with this library?

For example here two cells were merged into 0A:

╔════╤════╤════╗
║    │ 0B │ 0C ║
╟ 0A ┼────┼────╢
║    │ 1B │ 1C ║
╟────┼────┼────╢
║ 2A │ 2B │ 2C ║
╚════╧════╧════╝

If not, would this feature be released in the nearest future or are there any workarounds for now? I am developing a CLI app where tables are used extensively and merging cells is empirical.

@nam-hle
Copy link
Collaborator

nam-hle commented Oct 31, 2021

Hi @kamranpoladov, it's great to hear that the merging cell or column span feature is a quite useful one. It is also requested in the past at #12. The problem is we did not figure out the possible API for merging cells. Do you think a optional configuration with a list of quadruple (row, col, rowSpan, colSpan) is sufficient?

@github-actions
Copy link

github-actions bot commented Jan 5, 2022

🎉 This issue has been resolved in version 6.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants