Skip to content

Support for tuple keys in add_columns function#5923

Merged
willmcgugan merged 4 commits into
Textualize:mainfrom
Hibbins:feature/add-columns-tuple-support
Sep 30, 2025
Merged

Support for tuple keys in add_columns function#5923
willmcgugan merged 4 commits into
Textualize:mainfrom
Hibbins:feature/add-columns-tuple-support

Conversation

@Hibbins

@Hibbins Hibbins commented Jul 4, 2025

Copy link
Copy Markdown
Contributor

I prefer to use add_columns over add_column. But when I want to grab individual cell values or using similar functions I run into some issues and I haven't been able to find a robust way of dealing with it.

This addition the the add_columns function should solve any issues of getting a proper column key, as the user would be allowed to set the keys themselves, similar to the option you have with add_column. Personally I miss this feature on the add_columns function. I do not know if that is shared, but I figured I would propose a solution at least.

I opened a discussion here: #5922

Checklist

  • Docstrings on all new or modified functions / classes
  • Updated documentation (assuming auto generation on textual.textualize.io)
  • Updated CHANGELOG.md (where appropriate)

@willmcgugan willmcgugan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@willmcgugan willmcgugan merged commit 03bef71 into Textualize:main Sep 30, 2025
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants