Skip to content
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

Allow merging of table cells #836

Open
michaelglasson opened this issue Mar 17, 2024 · 3 comments
Open

Allow merging of table cells #836

michaelglasson opened this issue Mar 17, 2024 · 3 comments
Labels
backlog Queued in backlog enhancement New feature or request

Comments

@michaelglasson
Copy link

Need to put the same contents into multiple cells in a column - inconvenient and error-prone

Allow adjacent cells in a column to be merged

The DMN Specification shows that it is valid to merge adjacent cells so that multiple cells can have the same content which needs to be entered only once.

Describe alternatives you've considered

Putting the same data into adjacent cells - as is the case now.

Additional context

There are many examples in the DMN specification that show merged cells.

@michaelglasson michaelglasson added the enhancement New feature or request label Mar 17, 2024
@barmac
Copy link
Member

barmac commented Mar 18, 2024

Thanks for creating this issue. How do you imagine such solution could work from the user's point of view? What actions should I take to merge the table cells?

@barmac barmac added the backlog Queued in backlog label Mar 18, 2024
@michaelglasson
Copy link
Author

michaelglasson commented Mar 18, 2024

Thanks for your response, @barmac. I would follow the approach used in word processor tables. Allow the user to select multiple cells by dragging, or by click, shift-click or by click, ctrl-click. A right-button context menu then allows 'merge cells'. The image below shows the same complex expression in two vertically adjacent cells.
Screenshot 2024-03-19 064432

@barmac
Copy link
Member

barmac commented Mar 19, 2024

Makes sense. So the hidden requirement of this feature request is the ability to select multiple cells. This could unlock even more actions, e.g. clear multiple cells at once. Anyway, for now this lands in backlog so that we can pick it up later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog enhancement New feature or request
Development

No branches or pull requests

2 participants